From 93e87fe85168a664591e459e265f87ef9a89d092 Mon Sep 17 00:00:00 2001
From: zhaojiale <631455805@qq.com>
Date: Fri, 16 Sep 2022 17:10:42 +0800
Subject: [PATCH] 设备照片回显问题
---
src/components/DailogSearchUser/index.vue | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/components/DailogSearchUser/index.vue b/src/components/DailogSearchUser/index.vue
index fb97d97..7345d2e 100644
--- a/src/components/DailogSearchUser/index.vue
+++ b/src/components/DailogSearchUser/index.vue
@@ -26,7 +26,7 @@
</el-col>
</el-row>
</el-form>
- <el-table :data="tableData" style="width: 100%; margin-top: 20px" @selection-change="handleSelectionChange">
+ <el-table :data="tableData" style="width: 100%; margin-top: 20px" ref="clearAll" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" v-if="types==0"/>
<el-table-column align="center" v-if="types!=0">
<template #default="scope">
@@ -191,12 +191,15 @@
dialogVisible.value = false;
clear()
};
+ const clearAll=ref()
const clear=()=>{
dynamicTags.value=[]
radio1.value=""
+ clearAll.value.clearSelection()
}
return {
clear,
+ clearAll,
total,
types,
filterText,
--
Gitblit v1.9.2