Commit 7a9555b0 authored by xd's avatar xd

专柜切换修改

parent 17c005aa
......@@ -35,16 +35,15 @@ export default {
this.getList()
},
methods: {
getList() {
getList() {
if(this.$route.query.userId !== '') {
let params = {
user_id: this.$route.query.userId
}
this.userId = this.$route.query.userId
}else {
let params = {
user_id: sessionStorage.getItem('userId')
}
this.userId = sessionStorage.getItem('userId')
}
let params = {
user_id: this.userId
}
getStoreList(params).then(res => {
console.log(res.data)
this.list = 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