Skip to content

Commit ed71fe7

Browse files
committed
chore: update
1 parent 29b06c5 commit ed71fe7

File tree

30 files changed

+53
-43
lines changed

30 files changed

+53
-43
lines changed

locales/en.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ menus:
157157
pureTimeline: Time Line
158158
pureLineTree: LineTree
159159
pureList: List Page
160-
pureListCard: Card List Page
160+
pureCardList: Card List Page
161161
pureDebounce: Debounce & Throttle
162162
pureFormDesign: Form Design
163163
pureBarcode: Barcode

locales/zh-CN.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ menus:
157157
pureTimeline: 时间线
158158
pureLineTree: 树形连接线
159159
pureList: 列表页面
160-
pureListCard: 卡片列表页
160+
pureCardList: 卡片列表页
161161
pureDebounce: 防抖节流
162162
pureFormDesign: 表单设计器
163163
pureBarcode: 条形码

src/router/modules/list.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ export default {
1212
children: [
1313
{
1414
path: "/list/card",
15-
name: "ListCard",
15+
name: "CardList",
1616
component: () => import("@/views/list/card/index.vue"),
1717
meta: {
1818
icon: "ri:bank-card-line",
19-
title: $t("menus.pureListCard"),
19+
title: $t("menus.pureCardList"),
2020
showParent: true
2121
}
2222
}

src/views/account-settings/components/accountManagement.vue renamed to src/views/account-settings/components/AccountManagement.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ import { ref } from "vue";
33
import { message } from "@/utils/message";
44
import { deviceDetection } from "@pureadmin/utils";
55
6+
defineOptions({
7+
name: "AccountManagement"
8+
});
9+
610
const list = ref([
711
{
812
title: "账户密码",

src/views/account-settings/components/preferences.vue renamed to src/views/account-settings/components/Preferences.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ import { ref } from "vue";
33
import { message } from "@/utils/message";
44
import { deviceDetection } from "@pureadmin/utils";
55
6+
defineOptions({
7+
name: "Preferences"
8+
});
9+
610
const list = ref([
711
{
812
title: "账户密码",

src/views/account-settings/components/profile.vue renamed to src/views/account-settings/components/Profile.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ import ReCropperPreview from "@/components/ReCropperPreview";
88
import { createFormData, deviceDetection } from "@pureadmin/utils";
99
import uploadLine from "@iconify-icons/ri/upload-line";
1010
11+
defineOptions({
12+
name: "Profile"
13+
});
14+
1115
const imgSrc = ref("");
1216
const cropperInfo = ref();
1317
const cropRef = ref();

src/views/account-settings/components/securityLog.vue renamed to src/views/account-settings/components/SecurityLog.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ import { reactive, ref, onMounted } from "vue";
55
import { deviceDetection } from "@pureadmin/utils";
66
import type { PaginationProps } from "@pureadmin/table";
77
8+
defineOptions({
9+
name: "SecurityLog"
10+
});
11+
812
const loading = ref(true);
913
const dataList = ref([]);
1014
const pagination = reactive<PaginationProps>({

src/views/account-settings/index.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ import { getMine } from "@/api/user";
33
import { useRouter } from "vue-router";
44
import { ref, onBeforeMount } from "vue";
55
import { ReText } from "@/components/ReText";
6-
import Profile from "./components/profile.vue";
7-
import Preferences from "./components/preferences.vue";
8-
import SecurityLog from "./components/securityLog.vue";
6+
import Profile from "./components/Profile.vue";
7+
import Preferences from "./components/Preferences.vue";
8+
import SecurityLog from "./components/SecurityLog.vue";
99
import { useGlobal, deviceDetection } from "@pureadmin/utils";
10-
import AccountManagement from "./components/accountManagement.vue";
10+
import AccountManagement from "./components/AccountManagement.vue";
1111
import TopCollapse from "@/layout/components/sidebar/topCollapse.vue";
1212
import { useDataThemeChange } from "@/layout/hooks/useDataThemeChange";
1313
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)