Commit cf8a62da by qinjianhui

fix: 添加loading

parent 8b3d2ccb
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
<div class="table-content"> <div class="table-content">
<SplitDiv size="60"> <SplitDiv size="60">
<template #top> <template #top>
<div class="table-list flex-1 overflow-hidden"> <div v-loading="loading" class="table-list flex-1 overflow-hidden">
<TableView <TableView
ref="tableRef" ref="tableRef"
highlight-current-row highlight-current-row
...@@ -292,6 +292,7 @@ const nodeClick = (data: TreeData) => { ...@@ -292,6 +292,7 @@ const nodeClick = (data: TreeData) => {
const { const {
currentPage, currentPage,
pageSize, pageSize,
loading,
total, total,
data: tableData, data: tableData,
refresh: search, refresh: search,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment