Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
936 views
in Technique[技术] by (71.8m points)

weex picker 选取日期时只需要显示年份和月份 怎么弄

picker.pickeDate 只需要弹出 年和月份,不需要天数


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

因为你使用的是官方的提供的封装好的公共组件,所以无法办到。
解决方案

1 如果你有一定的原生开发经验,可以尝试自定义module或者component来先实现https://weex.incubator.apache...


2 无原生开发经验,你可以完全使用vue来自己实现这个功能


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...