去除默认值

This commit is contained in:
lai
2024-07-23 14:43:30 +08:00
parent b1dbacffcc
commit 363288a141
4 changed files with 16 additions and 48 deletions

View File

@@ -44,7 +44,7 @@ let queryParams = reactive({
/**网元类型 */
neType: 'MME',
neId: '001',
eventType: 'auth-result',
eventType: '',
imsi: '',
tenantName: '',
sortField: 'timestamp',
@@ -61,9 +61,9 @@ let queryParams = reactive({
/**查询参数重置 */
function fnQueryReset() {
eventTypes.value = ['auth-result'];
eventTypes.value = [];
queryParams = Object.assign(queryParams, {
eventType: 'auth-result',
eventType: '',
imsi: '',
tenantName: '',
startTime: '',
@@ -78,7 +78,7 @@ function fnQueryReset() {
}
/**记录类型 */
const eventTypes = ref<string[]>(['auth-result']);
const eventTypes = ref<string[]>([]);
/**查询记录类型变更 */
function fnQueryEventTypeChange(value: any) {