mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 14:57:16 +08:00
feat(#419): 面板自动更新
This commit is contained in:
@@ -17,6 +17,7 @@ const model = ref<Setting>({
|
||||
port: 8888,
|
||||
entrance: '',
|
||||
offline_mode: false,
|
||||
auto_update: false,
|
||||
website_path: '',
|
||||
backup_path: '',
|
||||
https: false,
|
||||
@@ -103,6 +104,9 @@ onMounted(() => {
|
||||
<n-form-item :label="$t('settingIndex.edit.fields.offline.label')">
|
||||
<n-switch v-model:value="model.offline_mode" />
|
||||
</n-form-item>
|
||||
<n-form-item label="自动更新">
|
||||
<n-switch v-model:value="model.auto_update" />
|
||||
</n-form-item>
|
||||
<n-form-item :label="$t('settingIndex.edit.fields.path.label')">
|
||||
<n-input
|
||||
v-model:value="model.website_path"
|
||||
|
||||
@@ -7,6 +7,7 @@ export interface Setting {
|
||||
port: number
|
||||
entrance: string
|
||||
offline_mode: boolean
|
||||
auto_update: boolean
|
||||
website_path: string
|
||||
backup_path: string
|
||||
https: boolean
|
||||
|
||||
Reference in New Issue
Block a user