{{ dataList.startTime.substring(0, 10) }
先给要用substring的字符串赋空值
dataList: {
startTime: '' //赋值为空
}
- properties undefined substring reading cannotproperties undefined reading cannot properties undefined substring reading properties typeerror undefined reading taro properties undefined reading typeerror undefined property cannot properties typeerror reading cannot quot undefined property cannot pickalgorithm properties reading cannot clearvalidate undefined property cannot parentelement properties reading cannot