|
@@ -332,7 +332,7 @@ export default {
|
|
|
this.getImgUrlByBannerOssId(this.serviceObjectList[0]);
|
|
this.getImgUrlByBannerOssId(this.serviceObjectList[0]);
|
|
|
console.log('执行了+++++++++++++++++++', this.serviceObjectList);
|
|
console.log('执行了+++++++++++++++++++', this.serviceObjectList);
|
|
|
|
|
|
|
|
- if (serviceObjectList.length === 0) {
|
|
|
|
|
|
|
+ if (this.activity.isAddServiceObject == 1 && serviceObjectList.length === 0) {
|
|
|
// 无服务对象:执行跳转逻辑,返回 false 表示不继续后续操作
|
|
// 无服务对象:执行跳转逻辑,返回 false 表示不继续后续操作
|
|
|
uni.showToast({
|
|
uni.showToast({
|
|
|
duration: 1500, // 与 setTimeout 时间一致,避免提示残留
|
|
duration: 1500, // 与 setTimeout 时间一致,避免提示残留
|