b***@163.com
b***@163.com
  • 发布:2022-11-13 20:38
  • 更新:2022-11-14 09:37
  • 阅读:133

formatter怎么用啊?不生效

分类:uni小程序sdk
    xAxis: {  
                        type: "category",  
                        boundaryGap: false,  
                        axisLabel: {  
                            interval: 0,  
                            formatter: (value, index) => {  
                                if (value == '2022/11/13 18:00:00') {  
                                    return value;  
                                } else {  
                                    return ''  
                                }  
                            }  
                        },
2022-11-13 20:38 负责人:无 分享
已邀请:
BoredApe

BoredApe - 有问题就会有答案。

请详细描述问题 上传必要的测试工程和截图视频说明【咨询问题/报bug正确姿势】:https://ask.dcloud.net.cn/article/38139
如果是插件问题。请在插件平台进入对应插件提问。当前问题未关联插件

要回复问题请先登录注册