kongwenhao 9 months ago
parent
commit
3b1f2d5a53
2 changed files with 4 additions and 3 deletions
  1. 3 1
      frontend/package.json
  2. 1 2
      frontend/src/utils/appfun.ts

+ 3 - 1
frontend/package.json

@@ -15,11 +15,13 @@
     "pinia": "3.0.1",
     "pinia-plugin-persistedstate": "4.2.0",
     "vue": "3.5.13",
-    "vue-router": "4.5.0"
+    "vue-router": "4.5.0",
+    "crypto-js": "^4.1.1"
   },
   "devDependencies": {
     "@types/node": "22.13.5",
     "@vitejs/plugin-vue": "5.2.1",
+    "@types/crypto-js": "^4.1.1",
     "@vue/tsconfig": "0.7.0",
     "sass-embedded": "^1.85.1",
     "typescript": "5.7.2",

+ 1 - 2
frontend/src/utils/appfun.ts

@@ -1,7 +1,6 @@
-import { ossResize, ossImageInfo } from './oss'
+import { ossResize } from './oss'
 export  {
   // 格式化图片
   ossResize,
   // 获取图片信息
-  ossImageInfo,
 }