|
|
@@ -71,13 +71,13 @@ const tableData = ref([])
|
|
|
const total = ref(0)
|
|
|
const curPage = ref(1)
|
|
|
const loading = ref(false)
|
|
|
-const tableConfig = ref<CustomTable>({
|
|
|
+const tableConfig = computed<CustomTable>(() => ({
|
|
|
showOperate: true,
|
|
|
showEdit: true,
|
|
|
showDelete: true,
|
|
|
operateWidth: 140,
|
|
|
...props.tableConfig
|
|
|
-})
|
|
|
+}))
|
|
|
|
|
|
const xTable = ref<any>()
|
|
|
const xToolbar = ref<any>()
|