Commit f141b3ed by 李伟康

loading

1 parent f676f285
......@@ -46,6 +46,7 @@
<div
class="config-box"
ref="itemBox"
v-loading="itemLoading"
>
<template v-for="(i, index) in questionsList">
<template>
......@@ -207,7 +208,8 @@ export default {
questionsList: [],
controlOptions: ['编辑', '删除', '上移', '下移', '最前', '最后'],
delObj: {},
delList: []
delList: [],
itemLoading: false
}
},
mounted () {
......@@ -277,6 +279,7 @@ export default {
index
}
else {
this.itemLoading = true
this.moveItem(questionsList, index, ind, true)
this.moveItem(questions, index, ind)
}
......@@ -367,6 +370,7 @@ export default {
e.className = 'item'
e.style.transform = ''
})
this.itemLoading = false
return array
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!