修复二次编辑时,无法提交的问题
This commit is contained in:
@@ -41,7 +41,7 @@ export default {
|
|||||||
},
|
},
|
||||||
handleAdd(row = {}) {
|
handleAdd(row = {}) {
|
||||||
const {appIconUrl: url, fileId} = row
|
const {appIconUrl: url, fileId} = row
|
||||||
this.form = this.$copy({...row, appIconUrl: url ? [{url, fileId}] : []})
|
this.form = this.$copy({...row, appIconUrl: url ? [{url, id: fileId}] : []})
|
||||||
this.dialog = true
|
this.dialog = true
|
||||||
// this.$router.push({hash: "#add", query: {id}})
|
// this.$router.push({hash: "#add", query: {id}})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user