feat: 增加模块已安装判断

This commit is contained in:
JaguarJack
2023-03-07 13:58:14 +08:00
parent b2408075c5
commit 4e104961d2
3 changed files with 9 additions and 3 deletions

View File

@@ -129,7 +129,6 @@ onMounted(() => {
onEnd({ newIndex, oldIndex }) {
const newStructures = []
const s = structures.splice(oldIndex, newIndex - oldIndex)
console.log(s, structures, oldIndex, newIndex)
s.concat(structures).forEach(item => {
newStructures.push(item)
})