{ type == 0 &&
请问这种情况如何简化 不想重复判断type字段
{type == 0 && (<>
https://blog.csdn.net/u012149969/article/details/82314197
如果只是改变价格显示,直接用三元运算就可以了