修复bug

This commit is contained in:
Richie 2025-04-24 21:30:18 +08:00
parent 93c7ff1ed0
commit 213bb4076d
5 changed files with 5 additions and 5 deletions

View File

@ -185,7 +185,7 @@ export default {
}; };
}, },
created() { created() {
listShop({platform:6}).then(response => { listShop({type:400}).then(response => {
this.shopList = response.rows; this.shopList = response.rows;
if (this.shopList && this.shopList.length > 0) { if (this.shopList && this.shopList.length > 0) {
this.queryParams.shopId = this.shopList[0].id this.queryParams.shopId = this.shopList[0].id

View File

@ -178,7 +178,7 @@ export default {
}; };
}, },
created() { created() {
listShop({platform: 3}).then(response => { listShop({type: 200}).then(response => {
this.shopList = response.rows; this.shopList = response.rows;
if (this.shopList && this.shopList.length > 0) { if (this.shopList && this.shopList.length > 0) {
this.queryParams.shopId = this.shopList[0].id this.queryParams.shopId = this.shopList[0].id

View File

@ -175,7 +175,7 @@ export default {
}; };
}, },
created() { created() {
listShop({platform:5}).then(response => { listShop({type:300}).then(response => {
this.shopList = response.rows; this.shopList = response.rows;
if (this.shopList && this.shopList.length > 0) { if (this.shopList && this.shopList.length > 0) {
this.queryParams.shopId = this.shopList[0].id this.queryParams.shopId = this.shopList[0].id

View File

@ -172,7 +172,7 @@ export default {
}; };
}, },
created() { created() {
listShop({platform: 4}).then(response => { listShop({type: 100}).then(response => {
this.shopList = response.rows; this.shopList = response.rows;
if (this.shopList && this.shopList.length > 0) { if (this.shopList && this.shopList.length > 0) {
this.queryParams.shopId = this.shopList[0].id this.queryParams.shopId = this.shopList[0].id

View File

@ -174,7 +174,7 @@ export default {
}; };
}, },
created() { created() {
listShop({platform: 2}).then(response => { listShop({type: 500}).then(response => {
this.shopList = response.rows; this.shopList = response.rows;
if (this.shopList && this.shopList.length > 0) { if (this.shopList && this.shopList.length > 0) {
this.queryParams.shopId = this.shopList[0].id this.queryParams.shopId = this.shopList[0].id