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