TS类型修改

This commit is contained in:
zjl
2021-10-03 21:27:24 +08:00
parent 58892dea40
commit 0a7980bded
2 changed files with 9 additions and 10 deletions
+4 -4
View File
@@ -6,16 +6,16 @@ export default abstract class BaseList<T extends Page> extends Vue {
/**
* 表格数据加载中
*/
protected loading: boolean = false
loading: boolean = false
/**
* 表单提交中
*/
protected modalLoading: boolean = true
modalLoading: boolean = false
/**
* 数据总数
*/
protected total: number = 0
protected abstract search: T
total: number = 0
abstract search: T
/**
* 加载数据的实现
*/