fix : 工作台历史通话记录定时刷新

This commit is contained in:
2024-11-07 11:43:56 +08:00
parent 63c770775b
commit 5f460fcbdf
2 changed files with 11 additions and 3 deletions

View File

@@ -125,6 +125,11 @@ const props = defineProps({
isSettingCol: {
type: Boolean,
default: true
},
//表格是否刷新
isLoading: {
type: Boolean,
default: true
}
})
@@ -217,7 +222,7 @@ const getList = async () => {
const { api, params } = props.tableConfig
const queryParmas = {...localData.query, ...params}
if(api) {
localData.loading = true
localData.loading = props.isLoading
try {
const {code, data, msg} = await requestList(api, queryParmas).then(res=>{
// console.log(res)