Commit 5a469b0e authored by 罗新东's avatar 罗新东

修改了暂无无数据乱飘的bug

parent 6476a59a
......@@ -85,7 +85,7 @@
</van-cell-group>
</div>
<!-- 暂无数据 -->
<div
<div
style="
width: 100%;
text-align: center;
......@@ -93,7 +93,7 @@
position: fixed;
top: 30%;
"
v-if="onClickTab.length == 0"
v-if="messageList.length == 0"
>
暂无数据
</div>
......@@ -161,6 +161,7 @@
</van-cell-group>
</div>
<!-- 暂无数据 -->
<!-- {{messageList}} -->
<div
style="
width: 100%;
......@@ -222,7 +223,7 @@ export default {
});
postFun(`/rectification/delete/${val.taskId}`)
.then((res) => {
console.log(res,'怎么样')
// console.log(res,'怎么样')
this.$toast.clear();
this.$toast.success({
message: "关闭成功",
......@@ -260,12 +261,13 @@ export default {
[list1, list2]
[val](formdata)
.then((res) => {
console.log(res.rows)
this.$toast.clear();
this.messageList = res.rows;
// 判断有无数据返回
if (this.messageList.length == 0) {
this.isHaveNews = true;
}
// if (this.messageList.length == 0) {
// this.isHaveNews = true;
// }
})
.catch(() => {
this.$toast.clear();
......@@ -387,4 +389,7 @@ export default {
}
}
}
/deep/.van-tab__pane-wrapper{
min-height: 8rem;
}
</style>
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