日期控件的默认日期需要判断:当前北京时间每个月九号0点之前取上两个月,否则取上个月,日期格式为yyyy-MM,判断条件怎么写
format(if(day(today())<9,monthdelta(today(),-2),monthdelta(today(),-1)),"yyyy-MM")
format(if(DAY(today())<9,MONTHDELTA(today(),-2),MONTHDELTA(today(),-1)),'yyyy-MM')
FORMAT(if(day(today())<9,MONTHDELTA(today(),-2),MONTHDELTA(today(),-1)),"yyyy-MM")