lanceJiang před 9 měsíci
rodič
revize
47e2d3ee86
3 změnil soubory, kde provedl 6 přidání a 6 odebrání
  1. 3 3
      package.json
  2. 1 1
      src/store/modules/user.ts
  3. 2 2
      src/views/approve/detail/index.vue

+ 3 - 3
package.json

@@ -47,13 +47,13 @@
     "event-source-polyfill": "^1.0.31",
     "everright-filter": "^1.1.1",
     "html2canvas": "^1.4.1",
-    "js-md5": "^0.7.3",
     "json-editor-vue3": "^1.0.8",
     "json-lint": "^0.1.0",
     "jss": "^10.9.2",
     "jss-preset-default": "^10.9.2",
     "lodash-es": "^4.17.21",
     "lodash-unified": "^1.0.3",
+    "md5": "^2.3.0",
     "mitt": "^3.0.0",
     "nanoid": "^4.0.0",
     "nprogress": "^0.2.0",
@@ -86,7 +86,7 @@
     "@ckeditor/ckeditor5-build-inline": "^35.4.0",
     "@ckeditor/ckeditor5-vue": "^4.0.1",
     "@originjs/vite-plugin-commonjs": "^1.0.3",
-    "@types/js-md5": "^0.7.0",
+    "@types/md5": "^2.3.5",
     "@types/nprogress": "^0.2.0",
     "@types/path-browserify": "^1.0.0",
     "@types/sortablejs": "^1.15.3",
@@ -126,6 +126,6 @@
     "vue-tsc": "^1.6.5"
   },
   "engines": {
-		"node": ">=16.18.0"
+    "node": ">=16.18.0"
   }
 }

+ 1 - 1
src/store/modules/user.ts

@@ -4,7 +4,7 @@ import { ls } from '@/utils'
 import { login, logout } from '@/api/login'
 import { userGetApi } from '@/api/system/user.ts'
 import router, { resetRouter } from '@/router'
-import md5 from 'js-md5'
+import md5 from 'md5'
 import { useTheme } from '@/hooks/useTheme'
 import useSettingStore from './settings'
 import useTagsViewStore from './tagsView'

+ 2 - 2
src/views/approve/detail/index.vue

@@ -133,8 +133,8 @@
 </template>
 
 <script setup>
-import path from 'path'
-import useTaskProcessStore from '@/store/modules/taskProcess'
+// import path from 'path'
+// import useTaskProcessStore from '@/store/modules/taskProcess'
 import { computed, ref, nextTick, watch, markRaw, defineAsyncComponent, provide, onMounted } from 'vue'
 import FlowStatusStamp from '@/components/Flow/FlowStatusStamp.vue'
 import FlowStatusTag from '@/components/Flow/FlowStatusTag.vue'