Merge pull request #1248 from xinnan-tech/manager-local-mem

增加智控台管理【本地记忆】功能
This commit is contained in:
欣南科技
2025-05-14 22:29:59 +08:00
committed by GitHub
24 changed files with 311 additions and 100 deletions
@@ -198,13 +198,13 @@ export default {
if (!this.form.id) { // 只在新增时重置
this.form.firmwarePath = ''
this.form.size = 0
// 重置上传组件
this.$nextTick(() => {
if (this.$refs.upload) {
this.$refs.upload.clearFiles()
}
})
}
// 无论是否编辑模式,都重置上传组件
this.$nextTick(() => {
if (this.$refs.upload) {
this.$refs.upload.clearFiles()
}
})
}
}
}