mirror of
https://gitee.com/vant-contrib/vant.git
synced 2026-07-06 06:41:06 +08:00
Compare commits
3 Commits
247135fcd4
...
d0260cf990
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d0260cf990 | ||
|
|
f885a9d1cf | ||
|
|
9c48a14649 |
@ -16,6 +16,14 @@ Vant follows [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/).
|
||||
|
||||
## Details
|
||||
|
||||
### [v2.12.33](https://github.com/youzan/vant/compare/v2.12.32...v2.12.33)
|
||||
|
||||
`2021-11-16`
|
||||
|
||||
**Bug Fixes**
|
||||
|
||||
- Picker: SSR broken [#9875](https://github.com/youzan/vant/issues/9875)
|
||||
|
||||
### [v2.12.32](https://github.com/youzan/vant/compare/v2.12.31...v2.12.32)
|
||||
|
||||
`2021-11-15`
|
||||
|
||||
@ -16,6 +16,14 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
|
||||
|
||||
## 更新内容
|
||||
|
||||
### [v2.12.33](https://github.com/youzan/vant/compare/v2.12.32...v2.12.33)
|
||||
|
||||
`2021-11-16`
|
||||
|
||||
**Bug Fixes**
|
||||
|
||||
- Picker: 修复 SSR 报错的问题 [#9875](https://github.com/youzan/vant/issues/9875)
|
||||
|
||||
### [v2.12.32](https://github.com/youzan/vant/compare/v2.12.31...v2.12.32)
|
||||
|
||||
`2021-11-15`
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vant",
|
||||
"version": "2.12.32",
|
||||
"version": "2.12.33",
|
||||
"description": "Mobile UI Components built on Vue",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import { deepClone } from '../utils/deep-clone';
|
||||
import { createNamespace, isObject } from '../utils';
|
||||
import { createNamespace, inBrowser, isObject } from '../utils';
|
||||
import { range } from '../utils/format/number';
|
||||
import { preventDefault, on, off } from '../utils/dom/event';
|
||||
import { TouchMixin } from '../mixins/touch';
|
||||
@ -27,7 +27,7 @@ function isOptionDisabled(option) {
|
||||
}
|
||||
// use standard WheelEvent:
|
||||
// https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent
|
||||
const supportMousewheel = 'onwheel' in window;
|
||||
const supportMousewheel = inBrowser && 'onwheel' in window;
|
||||
let mousewheelTimer = null;
|
||||
|
||||
export default createComponent({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user