Commit 7a9555b0 authored by xd's avatar xd

专柜切换修改

parent 17c005aa
...@@ -37,13 +37,12 @@ export default { ...@@ -37,13 +37,12 @@ export default {
methods: { methods: {
getList() { getList() {
if(this.$route.query.userId !== '') { if(this.$route.query.userId !== '') {
let params = { this.userId = this.$route.query.userId
user_id: this.$route.query.userId
}
}else { }else {
let params = { this.userId = sessionStorage.getItem('userId')
user_id: sessionStorage.getItem('userId')
} }
let params = {
user_id: this.userId
} }
getStoreList(params).then(res => { getStoreList(params).then(res => {
console.log(res.data) console.log(res.data)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment