Commit 3cca4b50 by 陈羽

update: update

parent 25e417e3
......@@ -178,7 +178,6 @@ export default {
*/
setSelectTab(item) {
let that = this;
console.log(item);
that.activeTab = item.tabId;
switch (item.tabId) {
case '1':
......
......@@ -77,7 +77,9 @@
</el-table-column>
<el-table-column label="操作">
<template slot-scope="{ row }">
<p v-if="row.syncFlag == 2 && canSync"><el-button type="text" @click="changeSync(row)">关闭同步</el-button></p>
<p v-if="row.syncFlag == 2 && canSync">
<el-button type="text" @click="changeSync(row)">关闭同步</el-button>
</p>
<p v-else></p>
</template>
</el-table-column>
......@@ -371,14 +373,13 @@ export default {
that.getTableList();
}, 3000);
} else {
that.loading = false;
errMsg.errorMsg(resData);
}
})
.catch(function(error) {
that.$message.error({
duration: 1000,
message: error.message
});
that.loading = false;
that.$message.error(error.message);
});
},
clearSlected() {
......
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