mirror of
https://github.com/Tencent/tdesign-vue-next-starter.git
synced 2024-11-10 11:44:40 +08:00
chore: fix surge deploy (#396)
* chore: fix surge deploy * chore: fix type
This commit is contained in:
parent
61abcdd28e
commit
56189daa3b
3
.env
3
.env
|
@ -1,3 +1,2 @@
|
||||||
VITE_SOME_KEY=123
|
|
||||||
# 打包路径 根据项目不同按需配置
|
# 打包路径 根据项目不同按需配置
|
||||||
VITE_BASE_URL = ./
|
VITE_BASE_URL = /
|
|
@ -1,3 +1,2 @@
|
||||||
VITE_SOME_KEY=456
|
|
||||||
# 打包路径
|
# 打包路径
|
||||||
VITE_BASE_URL = ./
|
VITE_BASE_URL = /
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
VITE_SOME_KEY=123
|
|
||||||
# 打包路径 根据项目不同按需配置
|
# 打包路径 根据项目不同按需配置
|
||||||
VITE_BASE_URL = https://static.tdesign.tencent.com/starter/vue-next/
|
VITE_BASE_URL = https://static.tdesign.tencent.com/starter/vue-next/
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div :class="layoutCls">
|
<div :class="layoutCls">
|
||||||
<t-head-menu :class="menuCls" :theme="theme" expand-type="popup" :value="active">
|
<t-head-menu :class="menuCls" :theme="menuTheme" expand-type="popup" :value="active">
|
||||||
<template #logo>
|
<template #logo>
|
||||||
<span v-if="showLogo" class="header-logo-container" @click="handleNav('/dashboard/base')">
|
<span v-if="showLogo" class="header-logo-container" @click="handleNav('/dashboard/base')">
|
||||||
<logo-full class="t-logo" />
|
<logo-full class="t-logo" />
|
||||||
|
@ -80,7 +80,7 @@ import MenuContent from './MenuContent.vue';
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
theme: {
|
theme: {
|
||||||
type: String,
|
type: String,
|
||||||
default: '',
|
default: 'light',
|
||||||
},
|
},
|
||||||
layout: {
|
layout: {
|
||||||
type: String,
|
type: String,
|
||||||
|
@ -132,7 +132,7 @@ const menuCls = computed(() => {
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
const menuTheme = computed(() => props.theme as 'light' | 'dark');
|
||||||
const changeCollapsed = () => {
|
const changeCollapsed = () => {
|
||||||
settingStore.updateConfig({
|
settingStore.updateConfig({
|
||||||
isSidebarCompact: !settingStore.isSidebarCompact,
|
isSidebarCompact: !settingStore.isSidebarCompact,
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
<t-step-item title="申请提交" content="已于12月21日提交" />
|
<t-step-item title="申请提交" content="已于12月21日提交" />
|
||||||
<t-step-item title="电子发票" content="预计1~3个工作日" />
|
<t-step-item title="电子发票" content="预计1~3个工作日" />
|
||||||
<t-step-item title="发票已邮寄" content="电子发票开出后7个工作日联系" />
|
<t-step-item title="发票已邮寄" content="电子发票开出后7个工作日联系" />
|
||||||
<t-step-item title="完成" content />
|
<t-step-item title="完成" content="" />
|
||||||
</t-steps>
|
</t-steps>
|
||||||
</t-row>
|
</t-row>
|
||||||
</t-card>
|
</t-card>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user