瀏覽代碼

feat: 优化

刘洋 7 月之前
父節點
當前提交
f79d15136a

+ 0 - 4
.husky/commit-msg

@@ -1,4 +0,0 @@
-#!/bin/sh
-. "$(dirname "$0")/_/husky.sh"
-
-pnpm commitlint --edit $1

+ 0 - 5
.husky/pre-commit

@@ -1,5 +0,0 @@
-#!/bin/sh
-. "$(dirname "$0")/_/husky.sh"
-
-npm run lint-staged
-npm run type:check

+ 2 - 4
package.json

@@ -12,8 +12,7 @@
     "report": "cross-env REPORT=true npm run build",
     "preview": "npm run build && vite preview --host",
     "type:check": "vue-tsc --noEmit --skipLibCheck",
-    "lint-staged": "npx lint-staged",
-    "prepare": "husky install"
+    "lint-staged": "npx lint-staged"
   },
   "lint-staged": {
     "*.{js,ts,jsx,tsx}": [
@@ -72,7 +71,6 @@
     "eslint-plugin-import": "^2.26.0",
     "eslint-plugin-prettier": "^4.2.1",
     "eslint-plugin-vue": "^9.6.0",
-    "husky": "^8.0.1",
     "less": "^4.1.3",
     "lint-staged": "^13.0.3",
     "mockjs": "^1.1.0",
@@ -97,4 +95,4 @@
     "rollup": "^2.56.3",
     "gifsicle": "5.2.0"
   }
-}
+}

文件差異過大導致無法顯示
+ 337 - 729
pnpm-lock.yaml


+ 1 - 0
src/components/select-agent/index.vue

@@ -8,6 +8,7 @@
     allow-search
     popup-container="body"
     v-bind="attrs"
+    :trigger-props="{ autoFitPopupMinWidth: true }"
     @change="onChange"
   >
     <template v-if="prefix" #prefix>考点</template>

+ 1 - 0
src/components/select-task/index.vue

@@ -8,6 +8,7 @@
     allow-search
     popup-container="body"
     v-bind="attrs"
+    :trigger-props="{ autoFitPopupMinWidth: true }"
     @change="onChange"
   >
     <template v-if="prefix" #prefix>任务</template>

+ 1 - 0
src/components/select-teaching/index.vue

@@ -8,6 +8,7 @@
     allow-search
     popup-container="body"
     v-bind="attrs"
+    :trigger-props="{ autoFitPopupMinWidth: true }"
     @change="onChange"
   >
     <template v-if="prefix || prefixStr" #prefix>{{

部分文件因文件數量過多而無法顯示