Commit 2e9c8b0e by 李伟康

commit

1 parent f8234555
...@@ -38,8 +38,7 @@ export default { ...@@ -38,8 +38,7 @@ export default {
data.productCode = 'PC00025' data.productCode = 'PC00025'
return window.$HTTP({ return window.$HTTP({
url, url,
data, data
returnAll
}) })
} }
} }
...@@ -51,8 +51,7 @@ export default { ...@@ -51,8 +51,7 @@ export default {
} }
}, },
activated() { activated() {
ssoApi.getPermission().then(({ code, data, message }) => { ssoApi.getPermission().then(data => {
if (code == 0) {
let list = data[0].products[0].merchantProTreeResponses[0].children let list = data[0].products[0].merchantProTreeResponses[0].children
if (list && list.length) { if (list && list.length) {
list.map(e => { list.map(e => {
...@@ -67,9 +66,6 @@ export default { ...@@ -67,9 +66,6 @@ export default {
}) })
this.list = list this.list = list
} }
} else {
Notify(message)
}
this.flag = true this.flag = true
}) })
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!