修复:图形验证码大写不识别

修复:按商户ID查询订单、商品、分类等
This commit is contained in:
2024-09-23 01:08:24 +08:00
parent 228cacdf2a
commit 625568eb41
30 changed files with 2069 additions and 118 deletions
+8 -2
View File
@@ -55,7 +55,6 @@
:preview="false"
:size="28"
:src="logoPath"
@click.stop="push(`/system/profile`)"
alt="logo"
/>
</div>
@@ -86,7 +85,7 @@
</template>
<script lang="ts" setup>
import { ref } from 'vue';
import { computed, ref } from 'vue';
import { useRouter } from 'vue-router';
import { storeToRefs } from 'pinia';
import { useI18n } from 'vue-i18n';
@@ -120,6 +119,7 @@
setHomeComponents
} from '@/utils/page-tab-util';
import type { TabCtxMenuOption } from 'ele-admin-pro/es/ele-pro-layout/types';
import { hasPermission } from "@/utils/permission";
const { push } = useRouter();
const { t, locale } = useI18n();
@@ -128,6 +128,8 @@
const themeStore = useThemeStore();
// 租户信息
const { company } = storeToRefs(tenantStore);
// 当前用户信息
const loginUser = computed(() => userStore.info ?? {});
// 网站名称
const projectName = company.value?.shortName || 'WEBSOFT';
// 网站LOGO
@@ -180,6 +182,10 @@
/* logo 点击事件 */
const onLogoClick = (isHome: boolean) => {
if (hasPermission('sys:company:profile')) {
push(`/system/profile`);
return false;
}
isHome || push(LAYOUT_PATH);
};