提交 07eda30e 编写于 作者: tao.wu's avatar tao.wu

no message

上级 995c73f8
......@@ -12,7 +12,7 @@
<div class="add-time-content">
<div class="time-line-scroll special-control-class">
<el-tabs v-model="activeTab" type="card" @tab-remove="deleteTimeNode" :closable="tabClosable()">
<el-tabs v-model="activeTab" type="card" @tab-remove="deleteTimeNode" :closable="tabClosable()" :before-leave="checkHasChoseComent">
<el-tab-pane
v-for="(itemTimeForm, index) in setTimeNodeList"
......@@ -441,7 +441,7 @@
},
// 校验漫画是否选择
checkHasChoseComent(type){
let pushData = this.setTimeNodeList[this.activeTab].pushContentList;
let pushData = (this.setTimeNodeList[this.activeTab] && this.setTimeNodeList[this.activeTab].pushContentList) ? this.setTimeNodeList[this.activeTab].pushContentList : [];
const len = pushData.length;
const startDays = len ? pushData[0].startDays : null;
const resourceId = len ? pushData[0].resourceId : null;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册