From 159fa1f9e62cf2873bf26b2db83d0b32656cdf3d Mon Sep 17 00:00:00 2001
From: jinlin <jinlin>
Date: 星期四, 06 六月 2024 19:44:58 +0800
Subject: [PATCH] 修改

---
 web/src/views/modules/sysPictureBase/SysPictureBase-AddOrUpdate.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/web/src/views/modules/sysPictureBase/SysPictureBase-AddOrUpdate.vue b/web/src/views/modules/sysPictureBase/SysPictureBase-AddOrUpdate.vue
index bfb24e0..0dfe340 100644
--- a/web/src/views/modules/sysPictureBase/SysPictureBase-AddOrUpdate.vue
+++ b/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')
         }

--
Gitblit v1.9.1