Comments (6)
辛苦提供下可复现的示例代码
from wot-design.
<wd-datetime-picker
v-model="birthday"
:minDate="minDate"
label="生日"
:columns-height="180"
type="date"
ref="birthday"
></wd-datetime-picker>
```...
mounted(){
...
this.birthday = new Date(
birthDay.format("YYYY"),
birthDay.format("M")-1,
birthDay.format("D")
);
...
}
from wot-design.
<wd-datetime-picker v-model="birthday" :minDate="minDate" label="生日" :columns-height="180" type="date" ref="birthday" ></wd-datetime-picker> ```... mounted(){ ... this.birthday = new Date( birthDay.format("YYYY"), birthDay.format("M")-1, birthDay.format("D") ); ... }
mounted 里的 birthDay 辛苦提供下示例值,以及 minDate 提供下示例值
from wot-design.
Data{
return {
miniDate: new Date(1970,0,1),
birthDay:""
}
mount(){
this.birthDay = new Date(2021,0,1);//就是这个没有生效;
}
from wot-design.
好的,感谢反馈,这个问题我们看下
from wot-design.
已发布 2.3.2 版本修复该问题
from wot-design.
Related Issues (20)
- 上传图片,会连续请求两次 HOT 2
- 新增组件 HOT 4
- tooltip组件 HOT 1
- Tabbar status display wrong with a string type value HOT 1
- InputNumber增加placeholder功能,及为空的处理 HOT 1
- Sticky 组件名错误
- checkbox渲染问题 HOT 1
- [Bug Report] Upload 上传组件,重复选择相同的图片,无反应
- Vue组件SwipeAction在苹果手机上无法准确点击问题 HOT 1
- picker-view组件 setColumnData 逻辑交互上可以优化 HOT 1
- Search组件 type为number 清空输入值出现NaN HOT 1
- Tag props closable => closeable
- cdn服务器挂了,你们发现了吗。。。 HOT 1
- 期待对Vue3的支持, 期待对Typescript的支持 HOT 1
- tabbar 问题
- 不使用npm构建工具的话如何使用,
- tabbar 添加添加事件失效
- CDN CSS JS 访问不了了,急急急,客户用。。。。。 HOT 1
- 选择器组件 wd-picker 真机显示有问题 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wot-design.