|
@@ -214,6 +214,9 @@ watch(
|
|
(newValue) => {
|
|
(newValue) => {
|
|
if (newValue) {
|
|
if (newValue) {
|
|
searchTxt.value = '';
|
|
searchTxt.value = '';
|
|
|
|
+ }else {
|
|
|
|
+
|
|
|
|
+ activeTab.value = '图库';
|
|
}
|
|
}
|
|
},
|
|
},
|
|
{ immediate: true }
|
|
{ immediate: true }
|
|
@@ -285,7 +288,6 @@ const changeSearchTxt = () => {
|
|
}
|
|
}
|
|
// 关闭弹窗
|
|
// 关闭弹窗
|
|
const handleClose = () => {
|
|
const handleClose = () => {
|
|
- activeTab.value = '图库';
|
|
|
|
emit('close');
|
|
emit('close');
|
|
};
|
|
};
|
|
|
|
|