Skip to content

Commit

Permalink
fix:修复 page transitions 问题
Browse files Browse the repository at this point in the history
  • Loading branch information
besscroft committed Sep 12, 2023
1 parent 2461320 commit a2e206d
Show file tree
Hide file tree
Showing 5 changed files with 221 additions and 215 deletions.
4 changes: 3 additions & 1 deletion heming-web/pages/admin/menu/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ definePageMeta({
</script>

<template>
菜单1
<div>
菜单1
</div>
</template>

<style scoped>
Expand Down
4 changes: 3 additions & 1 deletion heming-web/pages/admin/menu/menu11/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ definePageMeta({
</script>

<template>
菜单1-1
<div>
菜单1-1
</div>
</template>

<style scoped>
Expand Down
4 changes: 3 additions & 1 deletion heming-web/pages/admin/menu/menu12/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ definePageMeta({
</script>

<template>
菜单1-2
<div>
菜单1-2
</div>
</template>

<style scoped>
Expand Down
68 changes: 35 additions & 33 deletions heming-web/pages/admin/user/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ definePageMeta({
</script>

<template>
<v-data-table-server
<div>
<v-data-table-server
fixed-header
height="650px"
:headers="headers"
Expand All @@ -93,47 +94,48 @@ definePageMeta({
:items-per-page-options="pageOptions"
@update:options="(current) => { pageInfo.pageNum = current.page; pageInfo.pageSize = current.itemsPerPage; useUserPage('') }"
class="elevation-1"
>
<template v-slot:item.avatar="{ item }">
<v-avatar color="primary" size="x-small">
<v-img
>
<template v-slot:item.avatar="{ item }">
<v-avatar color="primary" size="x-small">
<v-img
:src="item.columns.avatar"
alt="头像"
></v-img>
</v-avatar>
</template>
<template v-slot:item.actions="{ item }">
<v-icon
></v-img>
</v-avatar>
</template>
<template v-slot:item.actions="{ item }">
<v-icon
cursor-pointer
size="small"
>
mdi-pencil
</v-icon>
<v-icon
>
mdi-pencil
</v-icon>
<v-icon
cursor-pointer
size="small"
@click="defaultUser = item.raw; dialogDelete = true"
>
mdi-delete
</v-icon>
</template>
</v-data-table-server>
<v-dialog
>
mdi-delete
</v-icon>
</template>
</v-data-table-server>
<v-dialog
v-model="dialogDelete"
width="auto"
>
<v-card>
<v-card-text>
确定要删除吗?
</v-card-text>
<v-card-actions>
<v-btn color="primary" block @click="handleUserDelete">确定</v-btn>
</v-card-actions>
<v-card-actions>
<v-btn color="primary" block @click="dialogDelete = false">取消</v-btn>
</v-card-actions>
</v-card>
</v-dialog>
>
<v-card>
<v-card-text>
确定要删除吗?
</v-card-text>
<v-card-actions>
<v-btn color="primary" block @click="handleUserDelete">确定</v-btn>
</v-card-actions>
<v-card-actions>
<v-btn color="primary" block @click="dialogDelete = false">取消</v-btn>
</v-card-actions>
</v-card>
</v-dialog>
</div>
</template>

<style scoped>
Expand Down
Loading

0 comments on commit a2e206d

Please sign in to comment.