校正字段传输

This commit is contained in:
aixianling
2024-07-18 09:01:02 +08:00
parent f1ba9f7409
commit 80b6a03999
3 changed files with 6 additions and 1 deletions

View File

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