fix : 工作台历史通话记录定时刷新
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user