Commit 0eaa910f by 前端

更新六月份版本代码

1 parent be12ce84
...@@ -245,10 +245,6 @@ export default { ...@@ -245,10 +245,6 @@ export default {
}, 100) }, 100)
reject() reject()
} }
}).then(res =>{
console.log(res)
}).catch(err=>{
console.log(err)
}) })
}) })
const pm2 = new Promise((resolve, reject) => { const pm2 = new Promise((resolve, reject) => {
...@@ -265,10 +261,6 @@ export default { ...@@ -265,10 +261,6 @@ export default {
}, 100) }, 100)
} }
}) })
}).then(res =>{
console.log(res)
}).catch(err=>{
console.log(err)
}) })
if (this.accounttypeId.length == 0) { if (this.accounttypeId.length == 0) {
this.loading = false this.loading = false
...@@ -353,7 +345,6 @@ export default { ...@@ -353,7 +345,6 @@ export default {
merchant = 'saveMerchant' merchant = 'saveMerchant'
} }
document.querySelector('#app').scrollTop = 0 document.querySelector('#app').scrollTop = 0
console.log(params)
Promise.all([pm1, pm2]).then(() => { Promise.all([pm1, pm2]).then(() => {
this.$apis.store[merchant](params).then(res => { this.$apis.store[merchant](params).then(res => {
if (res) { if (res) {
...@@ -370,6 +361,8 @@ export default { ...@@ -370,6 +361,8 @@ export default {
this.$refs.productForm.findMenuFunTreeByMerId(para, this.accounttypeId) this.$refs.productForm.findMenuFunTreeByMerId(para, this.accounttypeId)
} }
this.twoMerchantDetail(this.parentId) this.twoMerchantDetail(this.parentId)
}else{
this.loading = false
} }
}) })
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!