From 69f83d9453d4d8322a6894f673f72abc77e3a5bc Mon Sep 17 00:00:00 2001 From: liwenqiang Date: Tue, 26 Nov 2024 23:39:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- quasar.config.cjs | 2 +- src/boot/msw-server.ts | 2 +- src/pages/exploiters/generators/IndexPage.vue | 22 ++++++---- src/pages/exploiters/templates/IndexPage.vue | 43 ++++++++++++------- src/pages/files/IndexPage.vue | 12 ++++-- src/pages/logs/access/IndexPage.vue | 10 ++++- src/pages/logs/audit/IndexPage.vue | 9 +++- src/pages/logs/operation/IndexPage.vue | 10 ++++- src/pages/logs/scheduler/IndexPage.vue | 17 +++++--- src/pages/regions/IndexPage.vue | 22 +++++++--- src/pages/regions/SubPage.vue | 15 ++++--- src/pages/system/dictionaries/IndexPage.vue | 16 ++++--- src/pages/system/dictionaries/SubPage.vue | 13 +++--- src/pages/system/groups/IndexPage.vue | 28 ++++++++---- src/pages/system/privileges/IndexPage.vue | 16 ++++--- src/pages/system/privileges/SubPage.vue | 2 +- src/pages/system/roles/IndexPage.vue | 26 ++++++++--- src/pages/system/users/IndexPage.vue | 22 +++++++--- 18 files changed, 201 insertions(+), 86 deletions(-) diff --git a/quasar.config.cjs b/quasar.config.cjs index 69d18c9..3b225e9 100644 --- a/quasar.config.cjs +++ b/quasar.config.cjs @@ -74,7 +74,7 @@ module.exports = configure(function (ctx) { env: { API: ctx.dev ? '/api' - : '/api', + : 'https://101.42.255.156/api', TITLE: '' }, diff --git a/src/boot/msw-server.ts b/src/boot/msw-server.ts index b972664..85aa1ee 100644 --- a/src/boot/msw-server.ts +++ b/src/boot/msw-server.ts @@ -4,7 +4,7 @@ import { handlers } from 'src/mocks' // 您的请求处理程序 export default boot(() => { // dev - if (process.env.PROD) { + if (process.env.DEV) { const worker = setupWorker(...handlers) worker.start() } diff --git a/src/pages/exploiters/generators/IndexPage.vue b/src/pages/exploiters/generators/IndexPage.vue index 6d984e1..9a4f828 100644 --- a/src/pages/exploiters/generators/IndexPage.vue +++ b/src/pages/exploiters/generators/IndexPage.vue @@ -26,14 +26,14 @@ - +
{{ $t('preview') }}
- + @@ -85,11 +85,13 @@ - - - + + + - - - + + + - + + - + + + - + + - + + + - + + + - - + + + - - + + + - - + + + - - + + + +