Fix Sortable initialization error

This commit is contained in:
bangonicdd
2024-10-08 18:09:28 +09:00
parent 92e4aa312f
commit 8f1850680b

View File

@@ -18,6 +18,9 @@
let sorted = 0
let opened = 0
const createStb = () => {
if (!ele) {
return;
}
stb = Sortable.create(ele, {
onEnd: async () => {
let idx:number[] = []