From 46ad19a20591681dde550c1020389ea66d58f425 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期一, 25 十一月 2024 16:46:19 +0800
Subject: [PATCH] 密码策略必填种类默认选中组合方式为1种&&UI上下文切换Tab栏表格高度不一致问题
---
Source/plt-web/plt-web-ui/src/components/PLT-basic-component/upload-file.vue | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/upload-file.vue b/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/upload-file.vue
index 7e23662..f8bf56f 100644
--- a/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/upload-file.vue
+++ b/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/upload-file.vue
@@ -69,8 +69,8 @@
},
// 璇锋眰鍦板潃 鎼哄甫鍙傛暟
fileData: {
- type: Array,
- default: () => []
+ type: Object,
+ default: () => {}
},
// 瀵煎叆鎻愮ず鏂囧瓧 tipList:["瀵煎叆妯℃澘涓爣鏄庣孩鑹插瓧浣撶殑涓哄繀杈撻」","閮ㄩ棬鍒椾笂涓嬬骇鍏崇郴蹇呴』鎸夌収鍙嶆枩鏉犻殧寮�(/)"]
tipList:{
@@ -124,13 +124,14 @@
return true;
},
// 鏂囦欢涓婁紶鎴愬姛
- onSuccess(resbonse) {
- if (resbonse.code === 200) {
+ onSuccess(response) {
+ if (response.code === 200) {
this.$message.success("瀵煎叆鎴愬姛锛�");
this.visible = false;
- this.$emit('updata',resbonse);
+ this.$emit('updata',response);
} else {
- this.$message.error(resbonse.msg);
+ this.$emit('upfaildata',response);
+ this.$message.error(response.msg);
}
},
//鏂囦欢涓婁紶澶辫触
@@ -140,7 +141,6 @@
},
//鏂囦欢鐘舵�佹敼鍙�
uploadChange(file) {
- console.log( this.pageLoading);
if (file.status === "success" || file.status === "error") {
this.pageLoading.close();
}
--
Gitblit v1.9.3