fix import process reset
This commit is contained in:
parent
82fbcea183
commit
2ec9053a4c
|
@ -209,12 +209,13 @@ export default {
|
|||
let ready = false
|
||||
next(async vm => {
|
||||
if (vm.currentId !== vm.id) {
|
||||
vm.msg = ""
|
||||
vm.messages = []
|
||||
while (!ready) {
|
||||
vm.msg = ""
|
||||
vm.currentId = null
|
||||
vm.originalFilename = null
|
||||
vm.itemsForUser = []
|
||||
vm.originalItems = []
|
||||
vm.currentId = null
|
||||
vm.workerLog = []
|
||||
try {
|
||||
const response = await axios.get('/api/data/item/import/get/' + vm.id)
|
||||
if (!response.data.success) {
|
||||
|
|
Loading…
Reference in New Issue