mirror of
https://github.com/tenrok/vue2-datepicker.git
synced 2026-06-23 04:10:37 +03:00
docs: update a little description
This commit is contained in:
@@ -70,7 +70,7 @@ import 'vue2-datepicker/index.css';
|
|||||||
import 'vue2-datepicker/locale/zh-cn';
|
import 'vue2-datepicker/locale/zh-cn';
|
||||||
```
|
```
|
||||||
|
|
||||||
You can override the default locale by `lang`.
|
You can also override some of the default locale by `lang`.
|
||||||
[Full config](https://github.com/mengxiong10/vue2-datepicker/blob/master/locale.md)
|
[Full config](https://github.com/mengxiong10/vue2-datepicker/blob/master/locale.md)
|
||||||
|
|
||||||
```html
|
```html
|
||||||
|
|||||||
+1
-1
@@ -68,7 +68,7 @@ import 'vue2-datepicker/index.css';
|
|||||||
import 'vue2-datepicker/locale/zh-cn';
|
import 'vue2-datepicker/locale/zh-cn';
|
||||||
```
|
```
|
||||||
|
|
||||||
还可以通过`lang`去覆盖默认语言选项.
|
还可以通过`lang`去覆盖一些默认语言选项.
|
||||||
[完整配置](https://github.com/mengxiong10/vue2-datepicker/blob/master/locale.md)
|
[完整配置](https://github.com/mengxiong10/vue2-datepicker/blob/master/locale.md)
|
||||||
|
|
||||||
```html
|
```html
|
||||||
|
|||||||
Reference in New Issue
Block a user