既然是study,还是用Taro next吧
K
kala888
@kala888
0
声望
17
帖子
1715
资料浏览
0
粉丝
0
关注
kala888 发布的帖子
-
RE: 安装ali-oss包以后无法使用const OSS = require('ali-oss');
这个没用过,不过我这有个祖传的支持七牛和aliyunOSS的js,可以参考
https://github.com/kala888/nice-router-taro/tree/master/src/service/file-upload -
RE: UnhandledPromiseRejectionWarning: TypeError: items.forEach is not a function
打断点,观察一下items,估计是初始值的问题,可能是string或者number了
-
RE: 价格计算大家是怎么处理的?componentWillReceiveProps?还是更高效的解决方案?
dva比较简单,可以参考https://github.com/kala888/nice-router-taro
里面有不少例子