添加牌位-3
This commit is contained in:
parent
fcc8c6c81d
commit
a5ad4056be
|
|
@ -97,7 +97,26 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { createPagination } from "../../composables/winB_Pagination";
|
||||
|
||||
export default {
|
||||
mixins: [
|
||||
createPagination({
|
||||
fetchData: this.$request.get("/bst/memorial/list", {
|
||||
orderByColumn: "order_num",
|
||||
isAsc: "ascending",
|
||||
searchId: "42",
|
||||
type: "3",
|
||||
}),
|
||||
mode: "loadMore", // 或 "pager"
|
||||
pageSize: 5,
|
||||
autoLoad: false, // 手动触发时设为 false
|
||||
}),
|
||||
],
|
||||
created() {
|
||||
// 条件就绪后触发首次加载
|
||||
this.winB_UpdateParams();
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
// 设备信息
|
||||
|
|
@ -133,6 +152,9 @@ export default {
|
|||
);
|
||||
},
|
||||
},
|
||||
onReachBottom() {
|
||||
this.winB_LoadMore();
|
||||
},
|
||||
async onLoad() {
|
||||
// 页面加载时获取区域数据
|
||||
await this.loadRegionData();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user