优化页面
This commit is contained in:
@@ -19,6 +19,11 @@ const _sfc_main = {
|
||||
this.pkList();
|
||||
},
|
||||
methods: {
|
||||
onRefresherRefresh() {
|
||||
this.page = 0;
|
||||
this.list = [];
|
||||
this.pkList();
|
||||
},
|
||||
goDetail(item) {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/pkDetail/pkDetail",
|
||||
@@ -41,10 +46,10 @@ const _sfc_main = {
|
||||
},
|
||||
userInfo: false
|
||||
});
|
||||
common_vendor.index.__f__("log", "at components/contentList/contentList.vue:66", res);
|
||||
common_vendor.index.__f__("log", "at components/contentList/contentList.vue:71", res);
|
||||
if (res.code === 200) {
|
||||
this.list.push(...res.data);
|
||||
common_vendor.index.__f__("log", "at components/contentList/contentList.vue:69", this.list);
|
||||
common_vendor.index.__f__("log", "at components/contentList/contentList.vue:74", this.list);
|
||||
}
|
||||
},
|
||||
onScrollToLower() {
|
||||
@@ -78,7 +83,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
l: "4813d59a-0-" + i0
|
||||
});
|
||||
}),
|
||||
b: common_vendor.o$1((...args) => $options.onScrollToLower && $options.onScrollToLower(...args))
|
||||
b: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
|
||||
c: common_vendor.o$1((...args) => $options.onScrollToLower && $options.onScrollToLower(...args))
|
||||
};
|
||||
}
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-4813d59a"]]);
|
||||
|
||||
Reference in New Issue
Block a user