fix: 代客下单优化店铺信息为空时就餐类型联动效果
This commit is contained in:
parent
75378c9371
commit
2de28da055
|
|
@ -238,6 +238,7 @@ export interface UserInfo {
|
|||
|
||||
/** 店铺logo */
|
||||
logo: string;
|
||||
eatModel: string;
|
||||
[property: string]: any
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -595,6 +595,9 @@ watch(
|
|||
);
|
||||
|
||||
function dinerDisabled(item, index) {
|
||||
if (!shopUser.userInfo.eatModel) {
|
||||
return true;
|
||||
}
|
||||
if (index == 0) {
|
||||
return !shopUser.userInfo.eatModel.includes("dine-in");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue