校正字段传输
This commit is contained in:
4
.env.biaopin
Normal file
4
.env.biaopin
Normal file
@@ -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/
|
||||
@@ -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)",
|
||||
|
||||
@@ -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("提交成功!")
|
||||
|
||||
Reference in New Issue
Block a user