mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-02-02 11:08:13 -05:00
✨ Feature: batch rename in gallery will not modify un-matched files
This commit is contained in:
parent
4a2d46585c
commit
079b0345ec
24
package.json
24
package.json
@ -34,22 +34,22 @@
|
||||
"lint:dpdm": "dpdm -T --tsconfig ./tsconfig.json --no-tree --no-warning --exit-code circular:1 src/background.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@aws-sdk/client-s3": "^3.405.0",
|
||||
"@aws-sdk/lib-storage": "^3.405.0",
|
||||
"@aws-sdk/s3-request-presigner": "^3.405.0",
|
||||
"@aws-sdk/client-s3": "^3.409.0",
|
||||
"@aws-sdk/lib-storage": "^3.409.0",
|
||||
"@aws-sdk/s3-request-presigner": "^3.409.0",
|
||||
"@element-plus/icons-vue": "^2.1.0",
|
||||
"@highlightjs/vue-plugin": "^2.1.0",
|
||||
"@nodelib/fs.walk": "^2.0.0",
|
||||
"@octokit/rest": "^19.0.7",
|
||||
"@picgo/i18n": "^1.0.0",
|
||||
"@picgo/store": "^2.0.4",
|
||||
"@smithy/node-http-handler": "^2.0.5",
|
||||
"@picgo/store": "^2.1.0",
|
||||
"@smithy/node-http-handler": "^2.1.2",
|
||||
"@types/mime-types": "^2.1.1",
|
||||
"@videojs-player/vue": "^1.0.0",
|
||||
"ali-oss": "^6.18.0",
|
||||
"axios": "^1.5.0",
|
||||
"compare-versions": "^4.1.3",
|
||||
"core-js": "^3.32.1",
|
||||
"core-js": "^3.32.2",
|
||||
"cos-nodejs-sdk-v5": "^2.12.4",
|
||||
"dexie": "^3.2.4",
|
||||
"electron-updater": "^6.1.4",
|
||||
@ -97,13 +97,13 @@
|
||||
"@types/lowdb": "^1.0.12",
|
||||
"@types/node": "^16.10.2",
|
||||
"@types/request-promise-native": "^1.0.18",
|
||||
"@types/semver": "^7.5.0",
|
||||
"@types/semver": "^7.5.1",
|
||||
"@types/tunnel": "^0.0.3",
|
||||
"@types/upyun": "^3.4.1",
|
||||
"@types/uuid": "^9.0.3",
|
||||
"@types/write-file-atomic": "^4.0.0",
|
||||
"@typescript-eslint/eslint-plugin": "^6.5.0",
|
||||
"@typescript-eslint/parser": "^6.5.0",
|
||||
"@typescript-eslint/eslint-plugin": "^6.6.0",
|
||||
"@typescript-eslint/parser": "^6.6.0",
|
||||
"@vue/cli-plugin-babel": "^5.0.8",
|
||||
"@vue/cli-plugin-eslint": "^5.0.8",
|
||||
"@vue/cli-plugin-router": "^5.0.8",
|
||||
@ -112,13 +112,13 @@
|
||||
"@vue/eslint-config-standard": "^8.0.1",
|
||||
"@vue/eslint-config-typescript": "^11.0.3",
|
||||
"@vue/runtime-dom": "^3.3.4",
|
||||
"conventional-changelog": "^5.0.0",
|
||||
"conventional-changelog": "^5.1.0",
|
||||
"cz-customizable": "^7.0.0",
|
||||
"dotenv": "^16.3.1",
|
||||
"dpdm": "^3.13.1",
|
||||
"electron": "^22.0.2",
|
||||
"electron-devtools-installer": "^3.2.0",
|
||||
"eslint": "^8.48.0",
|
||||
"eslint": "^8.49.0",
|
||||
"eslint-config-standard": ">=16.0.0",
|
||||
"eslint-plugin-import": "^2.28.1",
|
||||
"eslint-plugin-node": "^11.1.0",
|
||||
@ -126,7 +126,7 @@
|
||||
"eslint-plugin-vue": "^9.17.0",
|
||||
"husky": "^3.1.0",
|
||||
"node-loader": "^2.0.0",
|
||||
"npm-check-updates": "^16.13.2",
|
||||
"npm-check-updates": "^16.13.3",
|
||||
"stylus": "^0.59.0",
|
||||
"stylus-loader": "^7.1.3",
|
||||
"typescript": "^4.9.5",
|
||||
|
@ -503,7 +503,7 @@ const batchRenameMatch = ref('')
|
||||
const batchRenameReplace = ref('')
|
||||
const mathcedCount = computed(() => {
|
||||
const matchedFiles = [] as any[]
|
||||
images.value.forEach((item: any) => {
|
||||
filterList.value.forEach((item: any) => {
|
||||
if (customStrMatch(item.imgUrl, batchRenameMatch.value)) {
|
||||
matchedFiles.push(item)
|
||||
}
|
||||
@ -939,7 +939,7 @@ function handleBatchRename () {
|
||||
return
|
||||
}
|
||||
let matchedFiles = [] as any[]
|
||||
images.value.forEach((item: any) => {
|
||||
filterList.value.forEach((item: any) => {
|
||||
if (customStrMatch(item.imgUrl, batchRenameMatch.value)) {
|
||||
matchedFiles.push(item)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user