diff --git a/src/layout/index.vue b/src/layout/index.vue index 3c2f58e..7e97f78 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -23,7 +23,7 @@ {{ $t("myCreating.title") }} -
+
@@ -169,6 +169,13 @@ const updateShowTalkUsDialog = (newValue: any) => { showTalkUsDialog.value = newValue; }; //#endregion ------------------------------------ + +//#region 页面跳转 +function toUserModel() { + router.push("/userModel"); + showTalkUsDialog.value = true; +} +//#endregion ------------------------------------ diff --git a/src/types/auto-imports.d.ts b/src/types/auto-imports.d.ts index 9ea2d5d..e5c7bdb 100644 --- a/src/types/auto-imports.d.ts +++ b/src/types/auto-imports.d.ts @@ -2,6 +2,7 @@ export {} declare global { const EffectScope: typeof import('vue')['EffectScope'] + const ElForm: typeof import('element-plus/es')['ElForm'] const ElMessage: typeof import('element-plus/es')['ElMessage'] const ElMessageBox: typeof import('element-plus/es')['ElMessageBox'] const asyncComputed: typeof import('@vueuse/core')['asyncComputed'] @@ -270,6 +271,7 @@ import { UnwrapRef } from 'vue' declare module 'vue' { interface ComponentCustomProperties { readonly EffectScope: UnwrapRef + readonly ElForm: UnwrapRef readonly ElMessage: UnwrapRef readonly ElMessageBox: UnwrapRef readonly asyncComputed: UnwrapRef diff --git a/src/views/myStore/index.vue b/src/views/myStore/index.vue index 81d66ff..6120eef 100644 --- a/src/views/myStore/index.vue +++ b/src/views/myStore/index.vue @@ -353,7 +353,7 @@