添加PyPI镜像站选项

This commit is contained in:
zhbaor 2024-10-10 09:48:57 +08:00
parent 20613844db
commit 2f33c3185b
3 changed files with 57 additions and 24 deletions

View file

@ -2,7 +2,7 @@
import Init from '@/pages/Init.vue'
import Launch from '@/pages/Launch.vue'
import Update from '@/pages/Update.vue'
import { darkTheme, dateZhCN, zhCN } from 'naive-ui'
import { dateZhCN, zhCN } from 'naive-ui'
const loading = ref(true)
const page = ref(null)
@ -58,12 +58,11 @@ provide('steps', steps)
placement="left"
class="container"
:default-value="page"
@before-leave="!running"
@update:value="set_page"
>
<n-tab-pane name="init" tab="初始化"><init /></n-tab-pane>
<n-tab-pane name="update" tab="更新代码"><update /></n-tab-pane>
<n-tab-pane name="launch" tab="启动程序"><launch /></n-tab-pane>
<n-tab-pane :disabled="running" name="init" tab="初始化"><init /></n-tab-pane>
<n-tab-pane :disabled="running" name="update" tab="更新代码"><update /></n-tab-pane>
<n-tab-pane :disabled="running" name="launch" tab="启动程序"><launch /></n-tab-pane>
</n-tabs>
</n-notification-provider>
<n-global-style />