分页 组件 按钮 组件 快速回到 顶部 方法
This commit is contained in:
@@ -8,9 +8,10 @@
|
||||
target="_blank">点击咨询</a><br />客服QQ:531493955<br />官方QQ群:238938639<br />客服邮箱:531493955@qq.com<br />
|
||||
</div>
|
||||
<Abar href="/">返回游戏首页</Abar>
|
||||
|
||||
<!-- 分页组件示例 -->
|
||||
<div class="content" style="margin-top: 10px;">
|
||||
<Pagination :currentPage="currentPage" :totalPages="totalPages" @pageChange="handlePageChange" />
|
||||
<Pagination :currentPage="currentPage" :totalPages="totalPages" @pageChange="data" />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -32,17 +33,11 @@ const handlePageChange = (page: number): void => {
|
||||
};
|
||||
|
||||
|
||||
MessageExtend.ShowDialogAsyc('dada', 'dasda', async () => {
|
||||
var result = await PubService.GetMain(StateHelper.Sid);
|
||||
if (result.code == 0) {
|
||||
|
||||
}
|
||||
else {
|
||||
MessageExtend.ShowToast(result.msg, "fail");
|
||||
}
|
||||
return true
|
||||
})
|
||||
|
||||
const data = (data: any) => {
|
||||
console.log('子组件传的值', data);
|
||||
}
|
||||
|
||||
|
||||
onMounted(() => {
|
||||
|
||||
Reference in New Issue
Block a user