chore(多语言): 将isEnEnv计算属性挂载到全局Vue组件上,针对商品名称优化英文显示
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="goods-module-wrap info">
|
||||
<text class="sku-name-wrap" v-if="pointInfo.type == 1">{{ pointInfo.goods_name }}</text>
|
||||
<text class="sku-name-wrap" v-if="pointInfo.type == 1">{{ isEnEnv ? pointInfo.en_goods_name : pointInfo.goods_name }}</text>
|
||||
<text class="sku-name-wrap" v-else>{{ pointInfo.name }}</text>
|
||||
</view>
|
||||
<view class="coupon-desc">
|
||||
|
||||
Reference in New Issue
Block a user