|
@@ -249,6 +249,9 @@
|
|
this.spinShow = false;
|
|
this.spinShow = false;
|
|
this.noDataText = "没有相关的数据";
|
|
this.noDataText = "没有相关的数据";
|
|
},
|
|
},
|
|
|
|
+ error: () => {
|
|
|
|
+ this.noDataText = "数据加载失败!";
|
|
|
|
+ },
|
|
success: (res) => {
|
|
success: (res) => {
|
|
if (res.ret === 1 && res.data.total > 0) {
|
|
if (res.ret === 1 && res.data.total > 0) {
|
|
let tmpData = res.data[0];
|
|
let tmpData = res.data[0];
|
|
@@ -382,6 +385,9 @@
|
|
this.spinShow = false;
|
|
this.spinShow = false;
|
|
this.noDataText = "没有相关的数据";
|
|
this.noDataText = "没有相关的数据";
|
|
},
|
|
},
|
|
|
|
+ error: () => {
|
|
|
|
+ this.noDataText = "数据加载失败!";
|
|
|
|
+ },
|
|
success: (res) => {
|
|
success: (res) => {
|
|
if (res.ret === 1) {
|
|
if (res.ret === 1) {
|
|
this.userLists = res.data;
|
|
this.userLists = res.data;
|