调整加载动画

This commit is contained in:
fan 2020-09-08 16:57:48 +08:00
parent 3a25327100
commit 5ceaaed517
2 changed files with 6 additions and 3 deletions

View File

@ -58,8 +58,11 @@ export default {
});
},
'$store.state.app.transitionAnimationsCount': function(val) {
this.loading = true;
this.loadingStartTime = +new Date();
const time = +new Date();
if ((time - this.loadingStartTime) > 3000) {
this.loading = true;
this.loadingStartTime = +new Date();
}
},
'$route' () {
this.$nextTick(function() {

View File

@ -1,7 +1,7 @@
<template>
<el-dialog v-dialogDrag class="ningbo-01__systerm route-setting" :title="title" :visible.sync="show" width="600px" :before-close="doClose" :z-index="2000" :modal="false" :close-on-click-modal="false">
<el-row>
<el-table :data="signalList" height="300px">
<el-table :data="trainList" height="300px">
<el-table-column prop="code" label="列车" />
<el-table-column prop="interval" label="班次" />
<el-table-column v-if="isDepart" prop="interval" label="模式" />