Commit 908116ddc47972a6f20e54a134bd16c3dc6069d5
1 parent
391da9ec
chore: update workflow
Showing
6 changed files
with
80 additions
and
31 deletions
.github/workflows/issue-close-require.yml
0 → 100644
1 | +name: Issue Close Require | ||
2 | + | ||
3 | +on: | ||
4 | + schedule: | ||
5 | + - cron: '0 0 * * *' | ||
6 | + | ||
7 | +jobs: | ||
8 | + close-issues: | ||
9 | + runs-on: ubuntu-latest | ||
10 | + steps: | ||
11 | + - name: need reproduction | ||
12 | + uses: actions-cool/issues-helper@v2.1.1 | ||
13 | + with: | ||
14 | + actions: 'close-issues' | ||
15 | + token: ${{ secrets.OPER_TOKEN }} | ||
16 | + labels: 'need reproduction' | ||
17 | + inactive-day: 3 |
.github/workflows/issue-labeled.yml
0 → 100644
1 | +name: Issue Labeled | ||
2 | + | ||
3 | +on: | ||
4 | + issues: | ||
5 | + types: [labeled] | ||
6 | + | ||
7 | +jobs: | ||
8 | + reply-labeled: | ||
9 | + runs-on: ubuntu-latest | ||
10 | + steps: | ||
11 | + - name: remove pending | ||
12 | + if: github.event.label.name == 'enhancement' || github.event.label.name == 'bug' | ||
13 | + uses: actions-cool/issues-helper@v2.1.1 | ||
14 | + with: | ||
15 | + actions: 'remove-labels' | ||
16 | + token: ${{ secrets.OPER_TOKEN }} | ||
17 | + issue-number: ${{ github.event.issue.number }} | ||
18 | + labels: 'bug: pending triage' | ||
19 | + | ||
20 | + - name: need reproduction | ||
21 | + if: github.event.label.name == 'need reproduction' | ||
22 | + uses: actions-cool/issues-helper@v2.1.1 | ||
23 | + with: | ||
24 | + actions: 'create-comment, remove-labels' | ||
25 | + token: ${{ secrets.OPER_TOKEN }} | ||
26 | + issue-number: ${{ github.event.issue.number }} | ||
27 | + body: | | ||
28 | + Hello @${{ github.event.issue.user.login }}. Please provide the complete reproduction steps and code. Issues labeled by `need reproduction` will be closed if no activities in 3 days. | ||
29 | + labels: 'bug: pending triage' |
package.json
@@ -58,7 +58,7 @@ | @@ -58,7 +58,7 @@ | ||
58 | "devDependencies": { | 58 | "devDependencies": { |
59 | "@commitlint/cli": "^12.0.1", | 59 | "@commitlint/cli": "^12.0.1", |
60 | "@commitlint/config-conventional": "^12.0.1", | 60 | "@commitlint/config-conventional": "^12.0.1", |
61 | - "@iconify/json": "^1.1.317", | 61 | + "@iconify/json": "^1.1.320", |
62 | "@ls-lint/ls-lint": "^1.9.2", | 62 | "@ls-lint/ls-lint": "^1.9.2", |
63 | "@purge-icons/generated": "^0.7.0", | 63 | "@purge-icons/generated": "^0.7.0", |
64 | "@types/crypto-js": "^4.0.1", | 64 | "@types/crypto-js": "^4.0.1", |
@@ -88,11 +88,11 @@ | @@ -88,11 +88,11 @@ | ||
88 | "eslint": "^7.22.0", | 88 | "eslint": "^7.22.0", |
89 | "eslint-config-prettier": "^8.1.0", | 89 | "eslint-config-prettier": "^8.1.0", |
90 | "eslint-plugin-prettier": "^3.3.1", | 90 | "eslint-plugin-prettier": "^3.3.1", |
91 | - "eslint-plugin-vue": "^7.7.0", | 91 | + "eslint-plugin-vue": "^7.8.0", |
92 | "esno": "^0.5.0", | 92 | "esno": "^0.5.0", |
93 | "fs-extra": "^9.1.0", | 93 | "fs-extra": "^9.1.0", |
94 | "http-server": "^0.12.3", | 94 | "http-server": "^0.12.3", |
95 | - "husky": "^5.1.3", | 95 | + "husky": "^5.2.0", |
96 | "inquirer": "^8.0.0", | 96 | "inquirer": "^8.0.0", |
97 | "is-ci": "^3.0.0", | 97 | "is-ci": "^3.0.0", |
98 | "less": "^4.1.1", | 98 | "less": "^4.1.1", |
@@ -119,7 +119,7 @@ | @@ -119,7 +119,7 @@ | ||
119 | "vite-plugin-style-import": "^0.8.1", | 119 | "vite-plugin-style-import": "^0.8.1", |
120 | "vite-plugin-svg-icons": "^0.4.0", | 120 | "vite-plugin-svg-icons": "^0.4.0", |
121 | "vite-plugin-theme": "^0.5.0", | 121 | "vite-plugin-theme": "^0.5.0", |
122 | - "vite-plugin-windicss": "0.9.4", | 122 | + "vite-plugin-windicss": "0.9.6", |
123 | "vue-eslint-parser": "^7.6.0", | 123 | "vue-eslint-parser": "^7.6.0", |
124 | "yargs": "^16.2.0" | 124 | "yargs": "^16.2.0" |
125 | }, | 125 | }, |
src/components/SimpleMenu/src/components/SubMenuItem.vue
@@ -43,8 +43,8 @@ | @@ -43,8 +43,8 @@ | ||
43 | :class="`${prefixCls}-submenu-title-icon`" | 43 | :class="`${prefixCls}-submenu-title-icon`" |
44 | /> | 44 | /> |
45 | </div> | 45 | </div> |
46 | - <template #content v-show="opened"> | ||
47 | - <div v-bind="getEvents(true)"> | 46 | + <template #content> |
47 | + <div v-bind="getEvents(true)" v-show="opened"> | ||
48 | <ul :class="[prefixCls, `${prefixCls}-${getTheme}`, `${prefixCls}-popup`]"> | 48 | <ul :class="[prefixCls, `${prefixCls}-${getTheme}`, `${prefixCls}-popup`]"> |
49 | <slot></slot> | 49 | <slot></slot> |
50 | </ul> | 50 | </ul> |
src/layouts/default/header/components/Breadcrumb.vue
@@ -22,8 +22,6 @@ | @@ -22,8 +22,6 @@ | ||
22 | import { Breadcrumb } from 'ant-design-vue'; | 22 | import { Breadcrumb } from 'ant-design-vue'; |
23 | import Icon from '/@/components/Icon'; | 23 | import Icon from '/@/components/Icon'; |
24 | 24 | ||
25 | - import { PageEnum } from '/@/enums/pageEnum'; | ||
26 | - | ||
27 | import { useDesign } from '/@/hooks/web/useDesign'; | 25 | import { useDesign } from '/@/hooks/web/useDesign'; |
28 | import { useRootSetting } from '/@/hooks/setting/useRootSetting'; | 26 | import { useRootSetting } from '/@/hooks/setting/useRootSetting'; |
29 | import { useGo } from '/@/hooks/web/usePage'; | 27 | import { useGo } from '/@/hooks/web/usePage'; |
yarn.lock
@@ -1121,10 +1121,10 @@ | @@ -1121,10 +1121,10 @@ | ||
1121 | dependencies: | 1121 | dependencies: |
1122 | cross-fetch "^3.0.6" | 1122 | cross-fetch "^3.0.6" |
1123 | 1123 | ||
1124 | -"@iconify/json@^1.1.317": | ||
1125 | - version "1.1.318" | ||
1126 | - resolved "https://registry.npmjs.org/@iconify/json/-/json-1.1.318.tgz#7d4e56de65dd0c7c6381a94dde1d574efea308ff" | ||
1127 | - integrity sha512-t66mtNPASeG/MQm3CWIJSr9jy8nXWNVs1L3auWc41xHqS114/dGkSlgu1LkMPUgBdyIB5AD4bjZrl50QuEf44Q== | 1124 | +"@iconify/json@^1.1.320": |
1125 | + version "1.1.320" | ||
1126 | + resolved "https://registry.npmjs.org/@iconify/json/-/json-1.1.320.tgz#2f3685f8f3394bc1e6c734621a62551e85cad63e" | ||
1127 | + integrity sha512-cQpdMwjnGsKHCkabowCQ01figNBSwZ3UQxRLDD9gVlEpLuccpE2aWmRYPhbp7ofvZEyhffFn/zX9tPeoCAZnNQ== | ||
1128 | 1128 | ||
1129 | "@intlify/core-base@9.0.0": | 1129 | "@intlify/core-base@9.0.0": |
1130 | version "9.0.0" | 1130 | version "9.0.0" |
@@ -2026,16 +2026,16 @@ | @@ -2026,16 +2026,16 @@ | ||
2026 | dependencies: | 2026 | dependencies: |
2027 | vue-demi latest | 2027 | vue-demi latest |
2028 | 2028 | ||
2029 | -"@windicss/plugin-utils@0.9.4": | ||
2030 | - version "0.9.4" | ||
2031 | - resolved "https://registry.npmjs.org/@windicss/plugin-utils/-/plugin-utils-0.9.4.tgz#6f1212f672257a391e0077a7baf172a55282e631" | ||
2032 | - integrity sha512-udA6kvgj1/zUrDvKw8To0BqG3PsaDwJkOHgT0GnEzyXg3b37TUEJ/8H1sW98ai12K5jL+ovd6/8hmve0wkvvoA== | 2029 | +"@windicss/plugin-utils@0.9.6": |
2030 | + version "0.9.6" | ||
2031 | + resolved "https://registry.npmjs.org/@windicss/plugin-utils/-/plugin-utils-0.9.6.tgz#89e4709bc48c9eb03c2484054f519560791ccafa" | ||
2032 | + integrity sha512-rpuRPjndF5GR2BZFaISGAwe6DHii16Cfs0/003El6vBxQbWpL75BslfNYeJKAhnRfkqfPxcq4lybxHGWmvsaug== | ||
2033 | dependencies: | 2033 | dependencies: |
2034 | debug "^4.3.2" | 2034 | debug "^4.3.2" |
2035 | fast-glob "^3.2.5" | 2035 | fast-glob "^3.2.5" |
2036 | micromatch "^4.0.2" | 2036 | micromatch "^4.0.2" |
2037 | sucrase "^3.17.1" | 2037 | sucrase "^3.17.1" |
2038 | - windicss "^2.5.2" | 2038 | + windicss "^2.5.4" |
2039 | 2039 | ||
2040 | "@zxcvbn-ts/core@^0.3.0": | 2040 | "@zxcvbn-ts/core@^0.3.0": |
2041 | version "0.3.0" | 2041 | version "0.3.0" |
@@ -4453,10 +4453,10 @@ eslint-plugin-prettier@^3.3.1: | @@ -4453,10 +4453,10 @@ eslint-plugin-prettier@^3.3.1: | ||
4453 | dependencies: | 4453 | dependencies: |
4454 | prettier-linter-helpers "^1.0.0" | 4454 | prettier-linter-helpers "^1.0.0" |
4455 | 4455 | ||
4456 | -eslint-plugin-vue@^7.7.0: | ||
4457 | - version "7.7.0" | ||
4458 | - resolved "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-7.7.0.tgz#a90df4595e670821bf243bd2750ededdb74948b8" | ||
4459 | - integrity sha512-mYz4bpLGv5jx6YG/GvKkqbGSfV7uma2u1P3mLA41Q5vQl8W1MeuTneB8tfsLq6xxxesFubcrOC0BZBJ5R+eaCQ== | 4456 | +eslint-plugin-vue@^7.8.0: |
4457 | + version "7.8.0" | ||
4458 | + resolved "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-7.8.0.tgz#cb0e85d65b65fa8d15e783fbb03c049d2c4cfdae" | ||
4459 | + integrity sha512-OGrnPz+PuYL2HmVyBHxm4mRjxW2kfFCQE6Hw9G6qOHs/Pcu0srOlCCW0FMa8SLzIEqxl8WuKoBSPcMnrjUG2vw== | ||
4460 | dependencies: | 4460 | dependencies: |
4461 | eslint-utils "^2.1.0" | 4461 | eslint-utils "^2.1.0" |
4462 | natural-compare "^1.4.0" | 4462 | natural-compare "^1.4.0" |
@@ -5800,6 +5800,11 @@ husky@^5.1.3: | @@ -5800,6 +5800,11 @@ husky@^5.1.3: | ||
5800 | resolved "https://registry.npmjs.org/husky/-/husky-5.1.3.tgz#1a0645a4fe3ffc006c4d0d8bd0bcb4c98787cc9d" | 5800 | resolved "https://registry.npmjs.org/husky/-/husky-5.1.3.tgz#1a0645a4fe3ffc006c4d0d8bd0bcb4c98787cc9d" |
5801 | integrity sha512-fbNJ+Gz5wx2LIBtMweJNY1D7Uc8p1XERi5KNRMccwfQA+rXlxWNSdUxswo0gT8XqxywTIw7Ywm/F4v/O35RdMg== | 5801 | integrity sha512-fbNJ+Gz5wx2LIBtMweJNY1D7Uc8p1XERi5KNRMccwfQA+rXlxWNSdUxswo0gT8XqxywTIw7Ywm/F4v/O35RdMg== |
5802 | 5802 | ||
5803 | +husky@^5.2.0: | ||
5804 | + version "5.2.0" | ||
5805 | + resolved "https://registry.npmjs.org/husky/-/husky-5.2.0.tgz#fc5e1c2300d34855d47de4753607d00943fc0802" | ||
5806 | + integrity sha512-AM8T/auHXRBxlrfPVLKP6jt49GCM2Zz47m8G3FOMsLmTv8Dj/fKVWE0Rh2d4Qrvmy131xEsdQnb3OXRib67PGg== | ||
5807 | + | ||
5803 | iconv-lite@0.4.24, iconv-lite@^0.4.24, iconv-lite@^0.4.4: | 5808 | iconv-lite@0.4.24, iconv-lite@^0.4.24, iconv-lite@^0.4.4: |
5804 | version "0.4.24" | 5809 | version "0.4.24" |
5805 | resolved "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" | 5810 | resolved "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" |
@@ -11284,14 +11289,14 @@ vite-plugin-theme@^0.5.0: | @@ -11284,14 +11289,14 @@ vite-plugin-theme@^0.5.0: | ||
11284 | tinycolor2 "^1.4.2" | 11289 | tinycolor2 "^1.4.2" |
11285 | ts-jest "^26.5.3" | 11290 | ts-jest "^26.5.3" |
11286 | 11291 | ||
11287 | -vite-plugin-windicss@0.9.4: | ||
11288 | - version "0.9.4" | ||
11289 | - resolved "https://registry.npmjs.org/vite-plugin-windicss/-/vite-plugin-windicss-0.9.4.tgz#cc77935b60b6f7ae6b51cbed9c9fd13e48bc705f" | ||
11290 | - integrity sha512-hLrPV+9KF260iIRVK4XirG3zb7T9qJyZ5xfUGrF560cA7I8IsTMI91ePk8F0H70cWzME+h/wSQiUejRvcvaSnA== | 11292 | +vite-plugin-windicss@0.9.6: |
11293 | + version "0.9.6" | ||
11294 | + resolved "https://registry.npmjs.org/vite-plugin-windicss/-/vite-plugin-windicss-0.9.6.tgz#8c1b55e365ef311296e0db427ed358b5b46247b1" | ||
11295 | + integrity sha512-vNyPTuVyCV34slkbzaARvMOCC93ueuP0bw0ETyoUduCwIjP2NwI9C88b3LneVM46TAEDIzHtlTJjkq+APADVOA== | ||
11291 | dependencies: | 11296 | dependencies: |
11292 | - "@windicss/plugin-utils" "0.9.4" | 11297 | + "@windicss/plugin-utils" "0.9.6" |
11293 | debug "^4.3.2" | 11298 | debug "^4.3.2" |
11294 | - windicss "^2.5.2" | 11299 | + windicss "^2.5.4" |
11295 | 11300 | ||
11296 | vite@2.0.5: | 11301 | vite@2.0.5: |
11297 | version "2.0.5" | 11302 | version "2.0.5" |
@@ -11477,10 +11482,10 @@ which@^2.0.1, which@^2.0.2: | @@ -11477,10 +11482,10 @@ which@^2.0.1, which@^2.0.2: | ||
11477 | dependencies: | 11482 | dependencies: |
11478 | isexe "^2.0.0" | 11483 | isexe "^2.0.0" |
11479 | 11484 | ||
11480 | -windicss@^2.5.2: | ||
11481 | - version "2.5.2" | ||
11482 | - resolved "https://registry.npmjs.org/windicss/-/windicss-2.5.2.tgz#831858fe45edbf8400d5e8c6b9275fa3ffffcb2f" | ||
11483 | - integrity sha512-WzynOx1rQGzgUq62wqyWjUzOEPArwP8oeWyLqymiF54LSFC7f0oIYXR01bxY/y6OK2wODyK/OuwahPNAsseqqg== | 11485 | +windicss@^2.5.4: |
11486 | + version "2.5.4" | ||
11487 | + resolved "https://registry.npmjs.org/windicss/-/windicss-2.5.4.tgz#e89cd614cc4a7c2c13cc5af588642959de6746db" | ||
11488 | + integrity sha512-K+w/TOxbY38bIjRyJVgQ29ndZ0xZsbpf4a7wClqyFDQdCTbuCnzChBMpO13BqLmksIaHRzL46TeBRpFyV6n5/A== | ||
11484 | 11489 | ||
11485 | wmf@~1.0.1: | 11490 | wmf@~1.0.1: |
11486 | version "1.0.2" | 11491 | version "1.0.2" |