Commit 7a9555b0 authored by xd's avatar xd

专柜切换修改

parent 17c005aa
......@@ -37,13 +37,12 @@ export default {
methods: {
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)
......
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