-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Closed
Description
taro reduce 返回的数据中 map split异常
代码格式为
{
!!content.pinyin ? (
content.pinyin.split(" ").map((item,index) => {
return (item!=""?({item}):(''))
})):('')
}
content.pinyin.split 写成 输出 content.pinyin.length,可以正常输出,遇到了split则提示异常
👽 Taro v1.2.2
Taro CLI 1.2.2 environment info:
System:
OS: macOS High Sierra 10.13.6
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 8.1.0 - /usr/local/bin/node
npm: 6.4.1 - /usr/local/bin/npm
Metadata
Metadata
Assignees
Labels
No labels