From 6250f74b2a02770a37f2f0144c762f7952a12bd6 Mon Sep 17 00:00:00 2001
From: jinlin <jinlin>
Date: 星期二, 18 二月 2025 08:58:51 +0800
Subject: [PATCH] 修改

---
 web/src/views/modules/sysPictureBase/SysPictureBase-AddOrUpdate.vue |   11 +++++++----
 1 files changed, 7 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..dbaf9aa 100644
--- a/web/src/views/modules/sysPictureBase/SysPictureBase-AddOrUpdate.vue
+++ b/web/src/views/modules/sysPictureBase/SysPictureBase-AddOrUpdate.vue
@@ -13,6 +13,9 @@
       <zt-form-item label="妫�绱㈠叧閿瓧" prop="contentType">
         <el-input v-model="dataForm.contentType"></el-input>
       </zt-form-item>
+      <zt-form-item label="澶囨敞" prop="remark">
+        <el-input v-model="dataForm.remark"></el-input>
+      </zt-form-item>
       <input type="hidden" id="svgContentId" :value="dataForm.svgContent"/>
       <zt-form-item>
         <!--                <el-upload action="*" :on-change="uploadSvgContent">-->
@@ -56,12 +59,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