From 80b6a0399952067b9a5405cc1b9efff332b36328 Mon Sep 17 00:00:00 2001 From: aixianling Date: Thu, 18 Jul 2024 09:01:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=A1=E6=AD=A3=E5=AD=97=E6=AE=B5=E4=BC=A0?= =?UTF-8?q?=E8=BE=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.biaopin | 4 ++++ package.json | 1 + project/biaopin/AppCopilotConfig/ccList.vue | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .env.biaopin diff --git a/.env.biaopin b/.env.biaopin new file mode 100644 index 00000000..bd235e04 --- /dev/null +++ b/.env.biaopin @@ -0,0 +1,4 @@ +VUE_APP_SCOPE=biaopin +#VUE_APP_API=https://web.fdfengshou.cn/ +VUE_APP_API=http://192.168.1.87:9000/ +#VUE_APP_API=http://test87web.cunwuyun.cn/ diff --git a/package.json b/package.json index e2a6853f..d6869fc9 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "build": "vue-cli-service build", "dev:ai": "vue-cli-service serve examples/main.js --mode ai", "dev:oms": "vue-cli-service serve examples/main.js --mode oms", + "dev:biaopin": "vue-cli-service serve examples/main.js --mode biaopin", "dev:dv": "vue-cli-service serve examples/main.js --mode dv", "dev:fengdu": "vue-cli-service serve examples/main.js --mode fengdu", "lib": "npm publish||(npm unpublish -f&&npm publish)", diff --git a/project/biaopin/AppCopilotConfig/ccList.vue b/project/biaopin/AppCopilotConfig/ccList.vue index 0860586d..aa545e53 100644 --- a/project/biaopin/AppCopilotConfig/ccList.vue +++ b/project/biaopin/AppCopilotConfig/ccList.vue @@ -73,7 +73,7 @@ export default { }, submit() { this.$refs.form.validate().then(() => { - const {appIconUrl} = this.form, {url, fileId} = appIconUrl.at(0) || {} + const {appIconUrl} = this.form, {url, id:fileId} = appIconUrl.at(0) || {} this.instance.post("/app/appaiconfiginfo/addOrUpdate", {...this.form, appIconUrl: url, fileId}).then(res => { if (res?.code == '0') { this.$message.success("提亀成功!")