diff --git a/frontend/package.json b/frontend/package.json index 96569b43..fbc50276 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -27,7 +27,8 @@ "pinia-plugin-persistedstate": "^3.0.2", "reconnecting-websocket": "^4.4.0", "vite-plugin-build-id": "^0.2.3", - "vue": "^3.2.45", + "vue": "^3.2.47", + "vue-github-button": "https://github.com/0xJacky/vue-github-button", "vue-router": "4", "vue3-ace-editor": "^2.2.2", "vue3-apexcharts": "^1.4.1", diff --git a/frontend/src/views/domain/DomainEdit.vue b/frontend/src/views/domain/DomainEdit.vue index 264d32e0..207f0dea 100644 --- a/frontend/src/views/domain/DomainEdit.vue +++ b/frontend/src/views/domain/DomainEdit.vue @@ -49,13 +49,16 @@ const advance_mode = computed({ get() { return advance_mode_ref.value || parse_error_status.value }, - set(v) { + set(v: boolean) { advance_mode_ref.value = v } }) const history_chatgpt_record = ref([]) function handle_response(r: any) { + if (r.advanced) { + advance_mode.value = true + } Object.keys(cert_info_map).forEach(v => { delete cert_info_map[v] diff --git a/frontend/src/views/system/About.vue b/frontend/src/views/system/About.vue index e072d24a..3cf70195 100644 --- a/frontend/src/views/system/About.vue +++ b/frontend/src/views/system/About.vue @@ -2,6 +2,7 @@ import gettext from '@/gettext' import logo from '@/assets/img/logo.png' import version from '@/version.json' +import GithubButton from 'vue-github-button' const {$gettext} = gettext @@ -16,6 +17,12 @@ const this_year = new Date().getFullYear()
Yet another WebUI for Nginx
Version: {{ version.version }} ({{ version.build_id || $gettext('Development Mode') }})
+