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