提交 7df17e6c 编写于 作者: alex.zhang's avatar alex.zhang

手机端页面标签数据优化

上级 4c16084c
......@@ -202,7 +202,7 @@
</el-dialog>
<!-- 添加设置标签弹窗 -->
<el-dialog title="设置标签" :visible.sync="setLabelVisible" min-width="500px" center>
<el-dialog title="设置标签" :visible.sync="setLabelVisible" width="300px" center>
<div v-if="dataProjectLabels" v-for="(item, i) in dataProjectLabels" align="center">
<div class="same-line-class" style="margin-right:20px;">{{item.labelValue}}</div>
<div class="same-line-class">
......@@ -738,10 +738,13 @@ export default {
let callback = (res) => {
if (res.code == "000000") {
vm.historyLabelList = res.data;
console.log(
"handleSetLabelClick() : vm.historyLabelList = " +
vm.historyLabelList.menus.length
);
// console.log(
// "handleSetLabelClick() : vm.historyLabelList = " +
// vm.historyLabelList.menus.length
// );
if (vm.dataProjectLabels == null || vm.dataProjectLabels == "") {
vm.$message.info("未设置过标签")
}
} else {
vm.$message.error(res.message);
}
......@@ -763,6 +766,9 @@ export default {
};
tmpList.push(obj);
}
} else {
vm.setLabelVisible = false;
return;
}
let data = {
......
......@@ -823,7 +823,7 @@ export default {
// "handleSetLabelClick() : vm.historyLabelList = " +
// vm.historyLabelList.menus.length
// );
if (vm.dataProjectLabels) {
if (vm.dataProjectLabels == null || vm.dataProjectLabels == "") {
vm.$message.info("未设置过标签")
}
} else {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册