jinlin
2024-06-06 159fa1f9e62cf2873bf26b2db83d0b32656cdf3d
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')
        }