修复字典数据重置选项置空问题

This commit is contained in:
RuoYi 2023-11-01 09:55:42 +08:00
parent aea6ee2900
commit a4004968ec
1 changed files with 2 additions and 2 deletions

View File

@ -210,7 +210,7 @@ const data = reactive({
queryParams: {
pageNum: 1,
pageSize: 10,
dictName: undefined,
dictLabel: undefined,
dictType: undefined,
status: undefined
},
@ -279,7 +279,7 @@ function handleClose() {
/** 重置按钮操作 */
function resetQuery() {
proxy.resetForm("queryRef");
queryParams.value.dictType = defaultDictType;
queryParams.value.dictType = defaultDictType.value;
handleQuery();
}
/** 新增按钮操作 */