20260616173137
This commit is contained in:
1 parent
c9870ed390
commit
496e105efb
3 files changed
+5
-40
No files matched your search
@@ -6,6 +6,6 @@ PUBLIC_APP_NAME=集装箱装货影像采集
|
||||
# 应用部署基础路径(路由和静态资源 base)
|
||||
PUBLIC_SERVER_PATH=/g3ocr/
|
||||
# 本地开发服务器端口
|
||||
PUBLIC_SERVER_PORT=8080
|
||||
PUBLIC_SERVER_PORT=8086
|
||||
|
||||
PUBLIC_ALIYUN_BUCKET = g3hd
|
||||
-38
@@ -12,41 +12,6 @@ export {}
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Directory: typeof import('./src/components/wang-editor/modules/directory.vue')['default']
|
||||
ElButton: typeof import('element-plus/es')['ElButton']
|
||||
ElCard: typeof import('element-plus/es')['ElCard']
|
||||
ElCheckbox: typeof import('element-plus/es')['ElCheckbox']
|
||||
ElDatePicker: typeof import('element-plus/es')['ElDatePicker']
|
||||
ElDialog: typeof import('element-plus/es')['ElDialog']
|
||||
ElDivider: typeof import('element-plus/es')['ElDivider']
|
||||
ElDrawer: typeof import('element-plus/es')['ElDrawer']
|
||||
ElDropdown: typeof import('element-plus/es')['ElDropdown']
|
||||
ElDropdownItem: typeof import('element-plus/es')['ElDropdownItem']
|
||||
ElDropdownMenu: typeof import('element-plus/es')['ElDropdownMenu']
|
||||
ElIcon: typeof import('element-plus/es')['ElIcon']
|
||||
ElImage: typeof import('element-plus/es')['ElImage']
|
||||
ElImageViewer: typeof import('element-plus/es')['ElImageViewer']
|
||||
ElInput: typeof import('element-plus/es')['ElInput']
|
||||
ElMenu: typeof import('element-plus/es')['ElMenu']
|
||||
ElMenuItem: typeof import('element-plus/es')['ElMenuItem']
|
||||
ElOption: typeof import('element-plus/es')['ElOption']
|
||||
ElPagination: typeof import('element-plus/es')['ElPagination']
|
||||
ElPopover: typeof import('element-plus/es')['ElPopover']
|
||||
ElRadio: typeof import('element-plus/es')['ElRadio']
|
||||
ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup']
|
||||
ElResult: typeof import('element-plus/es')['ElResult']
|
||||
ElScrollbar: typeof import('element-plus/es')['ElScrollbar']
|
||||
ElSelect: typeof import('element-plus/es')['ElSelect']
|
||||
ElSplitter: typeof import('element-plus/es')['ElSplitter']
|
||||
ElSplitterPanel: typeof import('element-plus/es')['ElSplitterPanel']
|
||||
ElSubMenu: typeof import('element-plus/es')['ElSubMenu']
|
||||
ElSwitch: typeof import('element-plus/es')['ElSwitch']
|
||||
ElTable: typeof import('element-plus/es')['ElTable']
|
||||
ElTableColumn: typeof import('element-plus/es')['ElTableColumn']
|
||||
ElTabPane: typeof import('element-plus/es')['ElTabPane']
|
||||
ElTabs: typeof import('element-plus/es')['ElTabs']
|
||||
ElText: typeof import('element-plus/es')['ElText']
|
||||
ElTooltip: typeof import('element-plus/es')['ElTooltip']
|
||||
ElTree: typeof import('element-plus/es')['ElTree']
|
||||
G3Column: typeof import('./src/components/g3-table/g3-column.vue')['default']
|
||||
G3ContainerFile: typeof import('./src/components/g3-container-file/index.vue')['default']
|
||||
G3Detail: typeof import('./src/components/g3-detail/index.vue')['default']
|
||||
@@ -65,7 +30,4 @@ declare module 'vue' {
|
||||
RouterView: typeof import('vue-router')['RouterView']
|
||||
WangEditor: typeof import('./src/components/wang-editor/index.vue')['default']
|
||||
}
|
||||
export interface GlobalDirectives {
|
||||
vLoading: typeof import('element-plus/es')['ElLoadingDirective']
|
||||
}
|
||||
}
|
||||
@@ -3,7 +3,10 @@ import { useTabStore } from "@/store/tab";
|
||||
import { useRoute } from "vue-router";
|
||||
import emitter from "@/utils/emitter";
|
||||
|
||||
const HOME_PATH = "/";
|
||||
|
||||
const { refs, setRefs } = useRefs();
|
||||
|
||||
const showScroll = ref(false);
|
||||
|
||||
const route = useRoute();
|
||||
@@ -83,7 +86,6 @@ function switchTab(tab, index) {
|
||||
moveScroll(index);
|
||||
}
|
||||
|
||||
const HOME_PATH = "/";
|
||||
|
||||
// 关闭标签
|
||||
async function closeTab(tab) {
|
||||
@@ -159,6 +161,7 @@ function closeAll() {
|
||||
|
||||
router.push(HOME_PATH);
|
||||
}
|
||||
|
||||
function toHome() {
|
||||
router.push("/");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user