mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-15 13:56:45 +08:00
-- loading
This commit is contained in:
@@ -65,7 +65,7 @@
|
||||
<a-table
|
||||
:columns="columns1"
|
||||
:data-source="tableData1"
|
||||
:loading="tableDataTotal === -1 ? true : false"
|
||||
:loading="loading"
|
||||
expandRowByClick="true"
|
||||
@expand="expandTable"
|
||||
:scroll="{ x: 1300 }"
|
||||
@@ -269,8 +269,10 @@ export default {
|
||||
//审核记录的数据
|
||||
tableDataAudit: [],
|
||||
projAuditModal: false,
|
||||
loading:false
|
||||
});
|
||||
const getList = () => {
|
||||
state.loading=true
|
||||
let objn = {
|
||||
auditStatus: 0,
|
||||
categoryId: Number(state.valueproj),
|
||||
@@ -285,6 +287,7 @@ export default {
|
||||
console.log("获取已审核课程成功", res.data.data);
|
||||
state.total = res.data.data.total;
|
||||
setTableData(res.data.data.rows);
|
||||
state.loading=false
|
||||
})
|
||||
.catch((err) => {
|
||||
console.log("获取已审核课程失败", err);
|
||||
|
||||
Reference in New Issue
Block a user