bzkf3 2 years ago
parent
commit
10d0773a9f
3 changed files with 5 additions and 7 deletions
  1. 0 4
      components.d.ts
  2. 1 1
      public/dtk/assets/index.26656681.js
  3. 4 2
      src/pages/step/[id].vue

+ 0 - 4
components.d.ts

@@ -28,8 +28,6 @@ declare module '@vue/runtime-core' {
     ElInput: typeof import('element-plus/es')['ElInput']
     ElInputNumber: typeof import('element-plus/es')['ElInputNumber']
     ElLink: typeof import('element-plus/es')['ElLink']
-    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']
     ElRadio: typeof import('element-plus/es')['ElRadio']
@@ -37,7 +35,6 @@ declare module '@vue/runtime-core' {
     ElSelect: typeof import('element-plus/es')['ElSelect']
     ElStep: typeof import('element-plus/es')['ElStep']
     ElSteps: typeof import('element-plus/es')['ElSteps']
-    ElSubMenu: typeof import('element-plus/es')['ElSubMenu']
     ElTable: typeof import('element-plus/es')['ElTable']
     ElTableColumn: typeof import('element-plus/es')['ElTableColumn']
     ElUpload: typeof import('element-plus/es')['ElUpload']
@@ -49,7 +46,6 @@ declare module '@vue/runtime-core' {
     OptionSelect: typeof import('./src/components/optionSelect/index.vue')['default']
     RouterLink: typeof import('vue-router')['RouterLink']
     RouterView: typeof import('vue-router')['RouterView']
-    StatisticsSchool: typeof import('./src/components/statisticsSchool/index.vue')['default']
     Szcjckqx: typeof import('./src/components/step/link/szcjckqx.vue')['default']
     TheCard: typeof import('./src/components/TheCard.vue')['default']
     TinymceVue: typeof import('./src/components/TinymceVue/index.vue')['default']

File diff suppressed because it is too large
+ 1 - 1
public/dtk/assets/index.26656681.js


+ 4 - 2
src/pages/step/[id].vue

@@ -319,10 +319,12 @@ function routerPush(path: RouteLocationRaw) {
   router.push(path)
 }
 function windowPushState(path: string) {
+  // !未启用
   // 采取如下方式主要由于chrome下history.back()不会重新load页面
   sessionStorage.setItem('historyLocation', location.href)
-  // window.open(`${location.origin}/${path}`, '_self')
-  location.replace(`${location.origin}/${path}`)
+  window.open(`${location.origin}/${path}`, '_self')
+  // location.replace(`${location.origin}/${path}`)
+  // window.history.pushState(null, '', `${location.origin}/${path}`)
 }
 
 function handleValidTask(currentStep: number, idx: number, idy: number) {