Commit f1a1ee7e authored by sgjj's avatar sgjj

添加自定义模型

parent ad7d5402
...@@ -180,6 +180,7 @@ ...@@ -180,6 +180,7 @@
if (!res.result||res.data.total <= 0) { if (!res.result||res.data.total <= 0) {
that.emptyText = '暂无数据' that.emptyText = '暂无数据'
that.dataList = []; that.dataList = [];
that.total = 0;
} else { } else {
that.emptyText = ''; that.emptyText = '';
that.total = res.data.total; that.total = res.data.total;
......
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