|
@@ -941,7 +941,10 @@
|
|
|
}
|
|
|
postAction('/kuaishou/batch/createUnit', paramsEnd).then(res => {
|
|
|
if (res.success) {
|
|
|
-
|
|
|
+ this.visible = true
|
|
|
+ this.allForm.fail = res.result.fail
|
|
|
+ this.allForm.success = res.result.success
|
|
|
+ this.loading = false
|
|
|
if (res.result.success.length > 0) {
|
|
|
|
|
|
var dataElse = res.result.success.map(item => {
|
|
@@ -956,10 +959,7 @@
|
|
|
var dataJson = JSON.stringify(dataElse)
|
|
|
localStorage.setItem('pans', dataJson)
|
|
|
localStorage.setItem('appId', this.getData('appId'))
|
|
|
- this.visible = true
|
|
|
- this.allForm.fail = res.result.fail
|
|
|
- this.allForm.success = res.result.success
|
|
|
- this.loading = false
|
|
|
+
|
|
|
}
|
|
|
} else {
|
|
|
this.loading = false
|