perf: 调整

This commit is contained in:
rd
2025-09-05 11:03:11 +08:00
parent 8ffcb8c7a6
commit 0461ac4e62
12 changed files with 12 additions and 12 deletions

View File

@ -114,7 +114,7 @@ const props = defineProps({
},
});
const emits = defineEmits('search', 'reset', 'update:query');
const emits = defineEmits(['search', 'reset', 'update:query']);
const created_at = ref([]);
const audit_started_at = ref([]);

View File

@ -93,7 +93,7 @@ const props = defineProps({
},
});
const emits = defineEmits('search', 'reset', 'update:query');
const emits = defineEmits(['search', 'reset', 'update:query']);
const created_at = ref([]);
// const projects = ref([]);

View File

@ -64,7 +64,7 @@ const props = defineProps({
},
});
const emits = defineEmits('search', 'reset', 'update:query');
const emits = defineEmits(['search', 'reset', 'update:query']);
const created_at = ref([]);

View File

@ -77,7 +77,7 @@ const props = defineProps({
},
});
const emits = defineEmits('onSearch', 'onReset', 'update:query');
const emits = defineEmits(['onSearch', 'onReset', 'update:query']);
const groups = ref([]);
const operators = ref([]);

View File

@ -103,7 +103,7 @@ const props = defineProps({
},
});
const emits = defineEmits('onSearch', 'onReset', 'update:query');
const emits = defineEmits(['onSearch', 'onReset', 'update:query']);
const tags = ref([]);
const groups = ref([]);

View File

@ -52,7 +52,7 @@ const props = defineProps({
},
});
const emits = defineEmits('onSearch', 'onReset', 'update:query');
const emits = defineEmits(['onSearch', 'onReset', 'update:query']);
const handleSearch = () => {
emits('update:query', props.query);

View File

@ -27,7 +27,7 @@
<div class="filter-row-item flex items-center">
<span class="label">运营人员</span>
<CommonSelect v-model:value="query.operator_id" class="!w-160px" :multiple="false" :options="operators" />
<CommonSelect v-model="query.operator_id" class="!w-160px" :multiple="false" :options="operators" />
</div>
</div>
<div class="filter-row flex">

View File

@ -103,7 +103,7 @@ const props = defineProps({
},
});
const emits = defineEmits('onSearch', 'onReset', 'update:query');
const emits = defineEmits(['onSearch', 'onReset', 'update:query']);
// const tags = ref([]);
const groups = ref([]);

View File

@ -90,7 +90,7 @@ const props = defineProps({
},
});
const emits = defineEmits('onSearch', 'onReset', 'update:query');
const emits = defineEmits(['onSearch', 'onReset', 'update:query']);
const operators = ref([]);
const projects = ref([]);

View File

@ -65,7 +65,7 @@ const props = defineProps({
default: false,
},
});
const emits = defineEmits('onSearch', 'onReset', 'update:query');
const emits = defineEmits(['onSearch', 'onReset', 'update:query']);
// 获取最近7天的日期
const getLast7Days = () => {
const today = new Date();

View File

@ -112,7 +112,7 @@ const props = defineProps({
},
});
const emits = defineEmits('search', 'reset', 'update:query');
const emits = defineEmits(['search', 'reset', 'update:query']);
const created_at = ref([]);
const audit_started_at = ref([]);

View File

@ -97,7 +97,7 @@ const props = defineProps({
},
});
const emits = defineEmits('search', 'reset', 'update:query');
const emits = defineEmits(['search', 'reset', 'update:query']);
const created_at = ref([]);
// const projects = ref([]);