|
@@ -8,7 +8,7 @@
|
|
|
>
|
|
|
<div class="BasicForms">
|
|
|
<Select
|
|
|
- v-model:value="modelRef"
|
|
|
+ v-model:value="undefined"
|
|
|
show-search
|
|
|
placeholder="请输入姓名/手机号码/身份证号码搜索"
|
|
|
style="width: 350px"
|
|
@@ -34,7 +34,7 @@
|
|
|
</BasicModal>
|
|
|
</template>
|
|
|
<script lang="ts">
|
|
|
- import { defineComponent, ref, computed } from 'vue';
|
|
|
+ import { defineComponent, ref, computed, reactive } from 'vue';
|
|
|
import { checkUserApi, saveAddApi, updateApi, getRoleListByParam } from '/@/api/staff/list'; //roleLIstApi
|
|
|
import { BasicModal, useModalInner } from '/@/components/Modal';
|
|
|
import { BasicForm, FormSchema, useForm } from '/@/components/Form/index';
|
|
@@ -53,7 +53,7 @@
|
|
|
},
|
|
|
emits: ['ok'],
|
|
|
setup(_, context) {
|
|
|
- const modelRef = ref();
|
|
|
+ const modelRef = ref(undefined);
|
|
|
const active = ref({})
|
|
|
const options = ref([]);
|
|
|
const userStore = useUserStore();
|
|
@@ -145,7 +145,7 @@
|
|
|
});
|
|
|
function onDataReceive(data) {
|
|
|
console.log('onDataReceive', data);
|
|
|
- modelRef.value = '';
|
|
|
+ modelRef.value = undefined;
|
|
|
active.value = {};
|
|
|
// 方式1;
|
|
|
setTimeout(() => {
|