diff --git a/apps/jingrow/frontend/src/views/dev/CreateAppTemplate.vue b/apps/jingrow/frontend/src/views/dev/CreateAppTemplate.vue index 0c5565e..0b41d02 100644 --- a/apps/jingrow/frontend/src/views/dev/CreateAppTemplate.vue +++ b/apps/jingrow/frontend/src/views/dev/CreateAppTemplate.vue @@ -123,34 +123,6 @@ -
- - -
    -
  1. {{ t('Navigate to the app directory') }}: {{ result.appPath }}
  2. -
  3. {{ t('Install dependencies') }}: pip install -r requirements.txt
  4. -
  5. {{ t('Test locally') }}: python -m uvicorn main:app --port 8001
  6. -
  7. {{ t('Deploy to Jingrow Cloud') }}: bench --site your-site install-app {{ result.appName }}
  8. -
-
-
- -
- - - {{ t('Open in Explorer') }} - - - - {{ t('Copy Path') }} - -
@@ -258,28 +230,6 @@ const createAppTemplate = async () => { submitting.value = false } } - -const openInExplorer = () => { - if (result.value?.appPath) { - // 在开发环境中,尝试打开文件管理器 - if (import.meta.env.DEV) { - window.open(`file://${result.value.appPath}`) - } else { - message.info(t('Please navigate to the path manually')) - } - } -} - -const copyToClipboard = async () => { - if (result.value?.appPath) { - try { - await navigator.clipboard.writeText(result.value.appPath) - message.success(t('Path copied to clipboard')) - } catch (error) { - message.error(t('Failed to copy to clipboard')) - } - } -}