mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-22 19:05:54 +08:00
feat: ✨ 管理端新增格式化价格文件插件并在代码中引入,更新代码需要install插件
This commit is contained in:
@@ -76,10 +76,16 @@ export default {
|
||||
let text = "未知";
|
||||
if (params.row.couponType === "DISCOUNT") {
|
||||
text = params.row.couponDiscount + "折";
|
||||
return h("div", [text]);
|
||||
} else if (params.row.couponType === "PRICE") {
|
||||
text = "¥" + params.row.price;
|
||||
return h("priceColorScheme", {props:{value:params.row.price,color:this.$mainColor}} );
|
||||
|
||||
}else{
|
||||
return h("div", [text]);
|
||||
}
|
||||
return h("div", [text]);
|
||||
|
||||
|
||||
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user