@@ -89,7 +89,7 @@ const formModel = reactive({
rangeDate: [],
media_type: undefined,
device_name: undefined,
- search_info: '',
+ search_info: undefined,
})
const state = reactive({
@@ -269,6 +269,7 @@ const onClickSearch = async (query: any) => {
// 点击重置
const onClickReset = async (query: any) => {
+ state.query = query;
await fetchList();
}
@@ -44,7 +44,7 @@ const props = withDefaults(defineProps<Props>(), {
const formRef = ref();
const formModel = reactive({
// 点击查询