From 0dbd0aa7830262a8fc5008fc31631fcf3cd33b4c Mon Sep 17 00:00:00 2001 From: aBin Date: Fri, 4 Mar 2022 09:24:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=80=E7=BB=88=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/News/index.vue | 1 + src/config.js | 4 ++-- vue.config.js | 12 ++++++------ 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/components/News/index.vue b/src/components/News/index.vue index 2f69f23..96998c6 100644 --- a/src/components/News/index.vue +++ b/src/components/News/index.vue @@ -292,6 +292,7 @@ }, editModal(currList) { + console.log('currList: ', currList); this.showModal = true; this.showAdd = false; // this.id = id; diff --git a/src/config.js b/src/config.js index 690c3da..ab80f92 100644 --- a/src/config.js +++ b/src/config.js @@ -4,8 +4,8 @@ export const DEVICE_TYPE_BIG = "quxia-vm" export const client_id = 'test' export const client_secret = "test" // export const BASE_API = "https://rapapi.renqilai.com/app/mock/39"; -// export const BASE_API = "http://10.119.190.12:8000/v1.0"; -export const BASE_API = "https://test.tall.wiki/datang/v1.0"; +export const BASE_API = "http://10.119.190.12:8000/v1.0"; +// export const BASE_API = "https://test.tall.wiki/datang/v1.0"; export const pageSize = 20 export const SHELF_MAX_ROW=7 diff --git a/vue.config.js b/vue.config.js index f54906c..81e6570 100644 --- a/vue.config.js +++ b/vue.config.js @@ -1,17 +1,17 @@ // vue.config.js var path = require("path"); -// const BASE_API = "http://10.119.190.12:8000/v1.0" -// const proxyUrl = '/v1.0' +const BASE_API = "http://10.119.190.12:8000/v1.0" +const proxyUrl = '/v1.0' -const BASE_API = "https://test.tall.wiki/datang/v1.0" -const proxyUrl = '/datang/v1.0' +// const BASE_API = "https://test.tall.wiki/datang/v1.0" +// const proxyUrl = '/datang/v1.0' const port = 8080 module.exports = { - // publicPath: '/v1.0/manage', - publicPath: '/manage', + publicPath: '/v1.0/manage', + // publicPath: '/manage', devServer: { open: true, overlay: {