@@ -126,7 +126,7 @@
-
+
@@ -202,6 +202,7 @@ import { getToken } from '@/utils/auth'
import axios from 'axios'
const rowKey = "id";
+const loading = ref(false)
const tableRef = ref>();
const mailStore = useMailStore();
@@ -302,6 +303,7 @@ const handleCurrentChange = (page: any) => {
}
function getList() {
+ loading.value = true
let source = ""
if (query.value.mailLabels) {
let strLabels = ""
@@ -320,6 +322,7 @@ function getList() {
totalSize.total = data.total;
totalSize.pages = data.pages;
query.value.mailLabels = source
+ loading.value = false
});
}