feat:点击遮罩层关闭时清空搜索数据

This commit is contained in:
wyx
2023-01-09 15:47:53 +08:00
parent bc8ab182b4
commit 3fb713fb08

View File

@@ -964,6 +964,7 @@
:closable="false"
wrapClassName="modalStyle onlmanageModal"
width="80%"
@cancel="om_exit"
>
<div class="modalHeader">
<div class="headerLeft">
@@ -1089,7 +1090,7 @@
</div>
<div class="bm_input">
<a-input
v-model:value="gl_inputV2"
v-model:value="gl_inputV2"
style="width: 200px; height: 40px; border-radius: 8px"
placeholder="姓名"
/>
@@ -4449,6 +4450,8 @@ export default defineComponent({
};
const om_exit = () => {
state.gl_selectV2 = undefined;
state.gl_inputV2 = "";
state.om_1 = false;
state.faceManageTab = "1";
};