|
@@ -119,7 +119,7 @@ const pageChange = ({current, size}) => {
|
|
//表格数据
|
|
//表格数据
|
|
const tableRef = ref(null)
|
|
const tableRef = ref(null)
|
|
const tableColumn = ref([
|
|
const tableColumn = ref([
|
|
- {key:'key1', name: '表名'}
|
|
|
|
|
|
+ {key:'tableName', name: '表名'}
|
|
])
|
|
])
|
|
|
|
|
|
//获取数据
|
|
//获取数据
|
|
@@ -136,7 +136,7 @@ const getTableData = async () => {
|
|
//处理数据
|
|
//处理数据
|
|
tableLoading.value = false
|
|
tableLoading.value = false
|
|
if (!error && code === 200) {
|
|
if (!error && code === 200) {
|
|
- tableData.value = getArrValue(data['records'])
|
|
|
|
|
|
+ tableData.value = getArrValue(data)
|
|
searchForm.value.total = data.total || 0
|
|
searchForm.value.total = data.total || 0
|
|
} else {
|
|
} else {
|
|
tableData.value = []
|
|
tableData.value = []
|