2
0
mirror of https://github.com/tenrok/vue2-datepicker.git synced 2026-06-22 05:00:37 +03:00

fix: defaultValue should be used in datetime mode (#384)

When switching date causes time is disabled, the time of `defaultValue` should be used by default.
This commit is contained in:
mengxiong10
2019-12-02 17:10:27 +08:00
parent d7e7f49c95
commit 309a1bff70
9 changed files with 50 additions and 27 deletions
+2 -2
View File
@@ -17,13 +17,13 @@
"build:index": "cross-env NODE_ENV=production rollup -c",
"build:locale": "cross-env NODE_ENV=production rollup -c rollup.locale.config.js",
"build:css": "sass --style=compressed --no-source-map src/style/index.scss index.css && postcss index.css --use autoprefixer -o index.css --no-map && cp -R src/style scss",
"build": "npm run lint && npm run test && npm run clean && npm run build:index && npm run build:css && npm run build:locale",
"build": "npm run test && npm run clean && npm run build:index && npm run build:css && npm run build:locale",
"clean": "rimraf scss locale index.*",
"lint": "eslint src/**/*.{js,vue}",
"deploy:build": "cross-env NODE_ENV=production parcel build ./example/index.html --public-url ./ --out-dir _site --no-source-maps --no-minify",
"deploy": "bash build/gh-pages-deploy.sh",
"format": "prettier --write src/**/*",
"test": "jest",
"test": "npm run lint && jest",
"cov": "jest --coverage --coverageReporters=text-lcov | coveralls",
"version": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md",
"release": "bash build/git.sh && bash build/release.sh"