mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 12:26:47 +08:00
feat:点击遮罩层关闭时清空搜索数据
This commit is contained in:
@@ -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";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user