mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2026-11-13 12:28:54 +08:00
fix(seller): 修复三处历史遗留的恒假条件
- coupon-receive: 路由监听中 couponId 判断取错了来源(实际应判断 query.couponId), 导致优惠券列表页切换时永不刷新;changeSelect 中 getType 判断改为读表单值 searchForm.getType - addLive: 添加直播商品时 roomId 取 route.query.roomId 恒为 undefined,改为页面实际参数 route.query.id - shopSetting: tab 切换回调 v == "INFO" 恒为 false(Element Plus 传 pane 对象), 改为读 pane.paneName,基本信息/退货地址 tab 的数据重载恢复正常
This commit is contained in:
@@ -364,13 +364,14 @@ function handleSubmit() {
|
||||
}
|
||||
|
||||
//tab切换
|
||||
function handleClickType(v) {
|
||||
function handleClickType(pane) {
|
||||
const name = pane.paneName;
|
||||
//退款
|
||||
if (v == "INFO") {
|
||||
if (name === "INFO") {
|
||||
getShopInfo();
|
||||
}
|
||||
//退货
|
||||
if (v == "REFUND_GOODS_ADDRESS") {
|
||||
if (name === "REFUND_GOODS_ADDRESS") {
|
||||
getRefundGoodsAddress();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user