From 34f19106712e14adbda48b8d3dae0047aef94ff2 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Tue, 21 Mar 2023 10:47:21 +0800
Subject: [PATCH] 报错修改
---
src/views/modules/function.vue | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/views/modules/function.vue b/src/views/modules/function.vue
index f08c0f4..194efc5 100644
--- a/src/views/modules/function.vue
+++ b/src/views/modules/function.vue
@@ -348,7 +348,8 @@
res: 'data',
url: 'link'
},
- action: "/api/function/function/put-file-attach"
+ action: "/api/function/function/put-file-attach",
+ data: {},
},
]
},
@@ -371,7 +372,8 @@
res: 'data',
url: 'link'
},
- action: "/api/function/function/put-file-attach"
+ action: "/api/function/function/put-file-attach",
+ data: {},
},
]
},
@@ -435,7 +437,7 @@
handler(newVal){
console.log(newVal)
if (newVal.length > 0) {
- let url = data.fileUrl[0].value
+ let url = newVal[0].value
this.iframePath = 'http://192.168.0.200:8012/onlinePreview?url=' + encodeURIComponent(Base64.encode(url))
}
}
--
Gitblit v1.9.3