From 7d75bb22faeeff1dd8e8698fe34b1bb7bdd5f631 Mon Sep 17 00:00:00 2001 From: jingrow Date: Sun, 26 Oct 2025 01:48:52 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=80=E5=8C=96=E5=88=9B=E5=BB=BA=E5=BA=94?= =?UTF-8?q?=E7=94=A8=E6=A8=A1=E6=9D=BF=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/dev/CreateAppTemplate.vue | 50 ------------------- 1 file changed, 50 deletions(-) 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')) - } - } -}