feat: ✨ 用户管理定义返回事件
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
<template>
|
||||
<wd-navbar title="用户管理" left-arrow>
|
||||
<wd-navbar title="用户管理">
|
||||
<template #left>
|
||||
<wd-icon name="thin-arrow-left" @click="handleNavigateback()" />
|
||||
</template>
|
||||
<template #right>
|
||||
<wd-icon name="add-circle" size="18" @click="handleOpenDialog()" />
|
||||
<wd-icon name="add-circle" @click="handleOpenDialog()" />
|
||||
</template>
|
||||
</wd-navbar>
|
||||
<view class="user">
|
||||
@@ -350,6 +353,13 @@ function handleDelete(id: number) {
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 返回
|
||||
*/
|
||||
function handleNavigateback() {
|
||||
uni.navigateBack();
|
||||
}
|
||||
|
||||
// 触底事件
|
||||
onReachBottom(() => {
|
||||
if (queryParams.pageNum * queryParams.pageSize < total.value) {
|
||||
|
||||
Reference in New Issue
Block a user