摘要: // 页面下拉动作 async onPullDownRefresh() { uni.showToast({ title:"刷新成功", icon:"none" }) this.params.pagenum = 1; // 需要清空数据 await this.getList(true); uni.st 阅读全文
posted @ 2020-12-10 12:11 秋苏 阅读(94) 评论(0) 推荐(0)
摘要: async getList(isReflesh = false) { // 把参数都放入data中即可 const res = await this.request({ url: "/goods/search", data: this.params }); if (isReflesh) { // 要 阅读全文
posted @ 2020-12-10 12:08 秋苏 阅读(110) 评论(0) 推荐(0)