lrf пре 2 година
родитељ
комит
a271598d5f
1 измењених фајлова са 5 додато и 0 уклоњено
  1. 5 0
      pages/home/index.vue

+ 5 - 0
pages/home/index.vue

@@ -116,6 +116,7 @@
 		onLoad: function() {
 			const that = this;
 			that.search();
+      this.test();
 		},
 		onPullDownRefresh: async function() {
 			const that = this;
@@ -124,6 +125,10 @@
 			uni.stopPullDownRefresh();
 		},
 		methods: {
+      async test(){
+        const res = await this.$api('/util/util','GET')
+        console.log(res);
+      },
 			async search() {
 				const that = this;
 				let res;