fix: page loading

This commit is contained in:
xingyu4j
2022-11-07 15:10:48 +08:00
parent efb4cf0c66
commit 1a45526a9d
2 changed files with 3 additions and 1 deletions

View File

@ -318,8 +318,8 @@ const queryParams = reactive({
status: null
})
const getList = async () => {
statusOption.value = getIntDictOptions(DICT_TYPE.COMMON_STATUS)
tableLoading.value = true
statusOption.value = getIntDictOptions(DICT_TYPE.COMMON_STATUS)
const res = await MenuApi.getMenuListApi(queryParams)
tableData.value = res
tableLoading.value = false