guhongwei %!s(int64=2) %!d(string=hai) anos
pai
achega
40e9f1ed6b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,