Comments (7)
测试时发现第一次显示当天,如4月1号,取消再点开就正常了,为3月31号,是bug?
from nutui.
输入startDate、endDate、defaultValue 截图一下
from nutui.
以今天为例:
第一次打开显示为4月2号,不是我希望的,如下图,endDate、defaultValue 为2019-04-01,但是currDate 和 defaultDate均为4月2号,导致第一次打开显示为4月2号
关闭后再打开就显示为4月1号,这是我希望的,如下图, 此时currDate 和 defaultDate均为4月1号了,
from nutui.
defaultValue 改成在created里面赋值可解决
from nutui.
添加一点
<nut-datepicker
:is-visible="isVisible"
type="date"
title="请选择日期"
:is-show-chinese="false"
startDate="1900-01-01"
endDate="2019-04-05"
@close="switchPicker('isVisible')"
@choose="setChooseValue"
></nut-datepicker>
-- 结束日期能否只显示到4月5号
from nutui.
defaultValue 改成在created里面赋值可解决
·在吗
from nutui.
请升级最近版本进行测试
from nutui.
Related Issues (20)
- popup组件和input组件混用 当popupd的隐藏的时候 input组件中的placeholder会在页面显示一下再消失 HOT 1
- 【Button】@click不能同时兼容H5和小程序 HOT 1
- [FR]: nut-table的排序箭头只有一个?
- [FR]: nut-table没有点击这一行的api和方法 HOT 1
- [FR]: 最新4.0版本的设计稿在哪能能获取,官网上提供的是2021.08.24的,与4.0版本组件库不一致,缺失部分组件?
- nut-tabs和nut-popup一起使用的bug HOT 1
- 官网的组件图标使用错误 HOT 2
- [FR]: nut-checkbox是否可以实现形状自定义
- [FR]: 第一个,nut popover 实在太挫了;第二个问题,nut文档写的也很一般,内容案例都不太行。 HOT 1
- 使用slot嵌套nut-textarea时,输入内容自动失去焦点 HOT 2
- vue3编译微信小程序,dialog内容无法滚动
- toast层级问题
- [FR]: 希望table 列数据过多可以有一个底部滚动条
- checkbox 多层嵌套的 text 点击无法触发选中 HOT 1
- Picker 选择器在支付宝小程序下无法正常工作 HOT 1
- uploader上传图片失败时,failure回调里可以拿到图片的base64结果,上传其它类型文件失败时failure回调里拿不到对应的base64结果 HOT 1
- TimeSelect 组件iOS端内容超出不能滚动,模拟器可以
- 抖音小程序 input 不显示清除图标 HOT 2
- [FR]: tabbar添加新功能 HOT 2
- [FR]: nutui做的很好,但不支持nuxt3,比较遗憾,希望增加nuxt3的支持
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 nutui.