web/src/views/modules/sysPictureBase/SysPictureBase-AddOrUpdate.vue
@@ -56,12 +56,12 @@ } }, methods: { async init() { if (this.dataForm.id) { let res = await this.$http.get(`/sysPictureBase/${this.dataForm.id}`) async init(id,row) { if (id) { //let res = await this.$http.get(`/sysPictureBase/${this.dataForm.id}`) this.dataForm = { ...this.dataForm, ...res.data ...row } console.log(this.dataForm, 'this.dataForm this.dataForm') }