guhongwei 2 lat temu
rodzic
commit
40e9f1ed6b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      pagesRest/article/index.vue

+ 1 - 1
pagesRest/article/index.vue

@@ -29,7 +29,7 @@
 				const that = this;
 				const res = await that.$api(`/banner/${that.id}`, 'GET');
 				if (res.errcode == '0') {
-					console.log(res.data);
+					that.$set(that, `info`, res.data)
 				} else {
 					uni.showToast({
 						title: res.errmsg,