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("提亀成功!")