@tplc/wot 0.1.41 → 0.1.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.1.42](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.41...v0.1.42) (2024-11-27)
6
+
7
+
8
+ ### ✨ Features | 新功能
9
+
10
+ * 跳转 wd-backtop 滚动方式 ([2844471](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/28444716c8382777b1c74141a7d08611a304ee18))
11
+
5
12
  ### [0.1.41](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.40...v0.1.41) (2024-11-26)
6
13
 
7
14
  ### [0.1.40](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.80...v0.1.40) (2024-11-26)
@@ -188,9 +188,10 @@ function dispatchChangeEvent(value: string | number, change: boolean = true) {
188
188
  if (isEqual(inputValue.value, value)) {
189
189
  return
190
190
  }
191
+ const mode = inputValue.value > value ? 'sub' : 'add'
191
192
  inputValue.value = value
192
193
  change && emit('update:modelValue', inputValue.value)
193
- change && emit('change', { value })
194
+ change && emit('change', { value, mode })
194
195
  }
195
196
 
196
197
  function formatValue(value: string | number) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "@tplc/wot",
3
3
  "name": "@tplc/wot",
4
- "version": "0.1.41",
4
+ "version": "0.1.42",
5
5
  "keywords": [
6
6
  "wot-design-uni",
7
7
  "国际化",