升级依赖;打包文件时默认补全文件名

This commit is contained in:
chuzhongzai 2024-01-23 21:23:42 +08:00
parent fa7245e045
commit f3ebc7457e
3 changed files with 472 additions and 259 deletions

727
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -24,6 +24,6 @@
"@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue": "^4.2.3",
"unplugin-auto-import": "^0.16.7", "unplugin-auto-import": "^0.16.7",
"unplugin-vue-components": "^0.25.2", "unplugin-vue-components": "^0.25.2",
"vite": "^4.4.5" "vite": "^5.0.10"
} }
} }

View File

@ -164,7 +164,7 @@ function compressFiles(){
confirmButtonText: '打包', confirmButtonText: '打包',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'info', type: 'info',
inputValue: '.tar' inputValue: selectedFiles[0].name + '.tar'
} }
).then((packageName) => { ).then((packageName) => {
if(packageName.value.trim() === ''){ if(packageName.value.trim() === ''){