@tplc/business 0.0.62 → 0.0.63
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,14 @@
|
|
|
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.0.63](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.62...v0.0.63) (2024-11-20)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### ✨ Features | 新功能
|
|
9
|
+
|
|
10
|
+
* lcb-nav 常规模式下新增gap 无需用户添加 ([1f9f7d6](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1f9f7d6f00e3435b353b67db6cb4db42843f54dc))
|
|
11
|
+
* 调整引擎组件配置 ([e150cad](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/e150cad11c4183cce1b5e731a295d8a061389bdd))
|
|
12
|
+
|
|
5
13
|
### [0.0.62](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.61...v0.0.62) (2024-11-20)
|
|
6
14
|
|
|
7
15
|
### [0.0.61](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.27...v0.0.61) (2024-11-20)
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const transformValueUnit: (value?: number, uni?: string) => string
|
|
1
|
+
export declare const transformValueUnit: (value?: number | string, uni?: string) => string
|
|
2
2
|
/** 获取json字符串第一个url */
|
|
3
3
|
export declare const getJsonStrFirstUrl: (jsonStr?: string) => any
|
|
4
4
|
/** 获取json字符串列表 */
|
package/utils/transform.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export const transformValueUnit = (value?: number, uni = 'rpx') => {
|
|
2
|
-
return typeof value === 'number' ? value + uni : '0rpx'
|
|
1
|
+
export const transformValueUnit = (value?: number | string, uni = 'rpx') => {
|
|
2
|
+
return typeof value === 'number' ? value + uni : typeof value === 'string' ? value : '0rpx'
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
/** 获取json字符串第一个url */
|