Open NaccOll opened 4 years ago
欢迎提交 Issue~
如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏
如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。
Good luck and happy coding~
请问taro3 + taro-ui-3.0.0.alpha3 按需加载起作用吗?为什么我只引入了一个taro-ui,run dev的时候包体积就直接2600k了,直接没办法预览了
请问taro3 + taro-ui-3.0.0.alpha3 按需加载起作用吗?为什么我只引入了一个taro-ui,run dev的时候包体积就直接2600k了,直接没办法预览了
同样的问题,请问你找到解决的方法了吗?
请问taro3 + taro-ui-3.0.0.alpha3 按需加载起作用吗?为什么我只引入了一个taro-ui,run dev的时候包体积就直接2600k了,直接没办法预览了
同样的问题,请问你找到解决的方法了吗?
还没有。准备切回taro2了
同样的问题,求解决
同样的问题,求解决! 按文档上的marks={ [ { value: '2018/11/11' } ] }操作会报错,好像只能marks={['2020/7/25','2020/7/26']}这般设置 但是直接塞string[],并没有生效!生效的永远今日,是的不管设置啥日期,都是今日被标记。。。
@Kybs0 @mitayou 解决办法就是按我的补充信息自己去代码里面把taro-ui的mask去掉,然后从node_modules复制出来一份,webpack配个alias,把taro-ui指向你自己的那份。这样才能避免多人协作出现问题
@NaccOll 是的,marks的map那段有问题。把代码复制下来,把那段mark删除,标记自定义随便改
这个按文档直接报错了,taro3.x
各位是怎么解决这个问题的
无解,弃坑
1年了这个问题还没解?
请问这个问题解决了吗?我现在还有这个问题
Taro CLI 3.2.0 environment info:
System:
OS: macOS 10.15.7
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 12.21.0 - /usr/local/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 6.14.11 - /usr/local/bin/npm
npmPackages:
@tarojs/components: 3.2.0 => 3.2.0
@tarojs/mini-runner: 3.2.0 => 3.2.0
@tarojs/react: 3.2.0 => 3.2.0
@tarojs/runtime: 3.2.0 => 3.2.0
@tarojs/taro: 3.2.0 => 3.2.0
@tarojs/webpack-runner: 3.2.0 => 3.2.0
babel-preset-taro: 3.2.0 => 3.2.0
eslint-config-taro: 3.2.0 => 3.2.0
react: ^17.0.0 => 17.0.2
taro-ui: ^3.0.0-alpha.3 => 3.0.0-alpha.3
npmGlobalPackages:
typescript: 3.5.3
请问这个问题解决了吗?我现在还有这个问题
Taro CLI 3.2.0 environment info: System: OS: macOS 10.15.7 Shell: 5.7.1 - /bin/zsh Binaries: Node: 12.21.0 - /usr/local/bin/node Yarn: 1.22.4 - /usr/local/bin/yarn npm: 6.14.11 - /usr/local/bin/npm npmPackages: @tarojs/components: 3.2.0 => 3.2.0 @tarojs/mini-runner: 3.2.0 => 3.2.0 @tarojs/react: 3.2.0 => 3.2.0 @tarojs/runtime: 3.2.0 => 3.2.0 @tarojs/taro: 3.2.0 => 3.2.0 @tarojs/webpack-runner: 3.2.0 => 3.2.0 babel-preset-taro: 3.2.0 => 3.2.0 eslint-config-taro: 3.2.0 => 3.2.0 react: ^17.0.0 => 17.0.2 taro-ui: ^3.0.0-alpha.3 => 3.0.0-alpha.3 npmGlobalPackages: typescript: 3.5.3
可以试试这个替代品 https://github.com/zkytech/taro-calendar-customizable
请问这个问题解决了吗?我现在还有这个问题
Taro CLI 3.2.0 environment info: System: OS: macOS 10.15.7 Shell: 5.7.1 - /bin/zsh Binaries: Node: 12.21.0 - /usr/local/bin/node Yarn: 1.22.4 - /usr/local/bin/yarn npm: 6.14.11 - /usr/local/bin/npm npmPackages: @tarojs/components: 3.2.0 => 3.2.0 @tarojs/mini-runner: 3.2.0 => 3.2.0 @tarojs/react: 3.2.0 => 3.2.0 @tarojs/runtime: 3.2.0 => 3.2.0 @tarojs/taro: 3.2.0 => 3.2.0 @tarojs/webpack-runner: 3.2.0 => 3.2.0 babel-preset-taro: 3.2.0 => 3.2.0 eslint-config-taro: 3.2.0 => 3.2.0 react: ^17.0.0 => 17.0.2 taro-ui: ^3.0.0-alpha.3 => 3.0.0-alpha.3 npmGlobalPackages: typescript: 3.5.3
可以试试这个替代品 https://github.com/zkytech/taro-calendar-customizable
可用,谢谢
问题描述
使用
AtCalendar
,并添加marks参数,希望进行标记,发生错误复现步骤
期望行为
希望对2020年7月24日进行标记
报错信息
系统信息
补充信息
https://github.com/NervJS/taro-ui/blob/next/packages/taro-ui/src/components/calendar/ui/date-list/index.tsx#L69
{mark}的值为
{value:'2020/07/24}
,不是字符串,最终导致报错。