Commit 3cca4b50 by 陈羽

update: update

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