Commit 915c39bc authored by 张伯涛's avatar 张伯涛

bug修改

parent d1d43d2c
......@@ -4,21 +4,6 @@
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"@vant/popperjs": {
"version": "1.3.0",
"resolved": "https://registry.npmmirror.com/@vant/popperjs/-/popperjs-1.3.0.tgz",
"integrity": "sha512-hB+czUG+aHtjhaEmCJDuXOep0YTZjdlRR+4MSmIFnkCQIxJaXLQdSsR90XWvAI2yvKUI7TCGqR8pQg2RtvkMHw=="
},
"@vant/use": {
"version": "1.6.0",
"resolved": "https://registry.npmmirror.com/@vant/use/-/use-1.6.0.tgz",
"integrity": "sha512-PHHxeAASgiOpSmMjceweIrv2AxDZIkWXyaczksMoWvKV2YAYEhoizRuk/xFnKF+emUIi46TsQ+rvlm/t2BBCfA=="
},
"@vue/shared": {
"version": "3.4.29",
"resolved": "https://registry.npmmirror.com/@vue/shared/-/shared-3.4.29.tgz",
"integrity": "sha512-hQ2gAQcBO/CDpC82DCrinJNgOHI2v+FA7BDW4lMSPeBpQ7sRe2OLHWe5cph1s7D8DUQAwRt18dBDfJJ220APEA=="
},
"call-bind": {
"version": "1.0.7",
"resolved": "https://registry.npmmirror.com/call-bind/-/call-bind-1.0.7.tgz",
......@@ -152,16 +137,6 @@
"object-inspect": "^1.13.1"
}
},
"vant": {
"version": "4.9.1",
"resolved": "https://registry.npmmirror.com/vant/-/vant-4.9.1.tgz",
"integrity": "sha512-p7iAKJyACYVwrmrkf3COmbuvzjHrFJ+FAmlyOWbxTS2ovkRs+tNKYjX2iibAl4XnHXBQD+qpX0ogUqE3jE7Isg==",
"requires": {
"@vant/popperjs": "^1.3.0",
"@vant/use": "^1.6.0",
"@vue/shared": "^3.4.27"
}
},
"vue-i18n": {
"version": "8.20.0",
"resolved": "https://registry.npmjs.org/vue-i18n/-/vue-i18n-8.20.0.tgz",
......
......@@ -57,13 +57,16 @@
'nomore' : 'loadmore'
this.unitList = this.vuex_unit
if(this.unitList && this.unitList.length >0) {
this.unitId = this.unitList[0].businessId
this.userId = this.unitList[0].userId
if(this.unitList[0].businessId === null) {
this.unitId = ''
}else {
this.unitId = this.unitList[0].businessId
}
}else {
this.unitId = ''
this.userId = ''
}
this.$u.get('cmsnews/miniProgram/listByClassification?page='+this.page+'&rows='+this.rows+'&unitId='+this.unitId+'&userId='+this.userId +'&source=2').then(res => {
this.$u.get('cmsnews/miniProgram/listByClassification?page='+this.page+'&rows='+this.rows+'&unitId='+this.unitId+'&source=2').then(res => {
if (this.page === 1) {
let list = res.records;
this.hotList = list;
......
......@@ -61,11 +61,13 @@
'nomore' : 'loadmore'
this.unitList = this.vuex_unit
if(this.unitList && this.unitList.length >0) {
this.unitId = this.unitList[0].businessId
this.userId = this.unitList[0].userId
if(this.unitList[0].businessId === null) {
this.unitId = ''
}else {
this.unitId = this.unitList[0].businessId
}
}else {
this.unitId = ''
this.userId = ''
}
this.$u.get('cmsvideo/miniProgram/listByClassification?page=1&rows=10&unitId='+this.unitId+'&userId='+this.userId).then(res => {
if (this.page === 1) {
......
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