@kengic/vue 0.26.6-beta.135 → 0.26.6-beta.137
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/kengic-vue.js +1083 -1064
- package/dist/src/util/kg.util.d.ts +4 -4
- package/package.json +1 -1
@@ -33,7 +33,7 @@ export declare class KgUtil {
|
|
33
33
|
* <ul>
|
34
34
|
* <li>删除无用属性,</li>
|
35
35
|
* <li>日期转换为字符串,</li>
|
36
|
-
* <li>解析动态属性,
|
36
|
+
* <li>解析动态属性, 比如「仓库号」等等,</li>
|
37
37
|
* </ul>
|
38
38
|
*
|
39
39
|
* @param params 请求参数.
|
@@ -45,7 +45,7 @@ export declare class KgUtil {
|
|
45
45
|
* 处理请求参数: 解析字符串类型的参数值.
|
46
46
|
*
|
47
47
|
* <ol>
|
48
|
-
* <li
|
48
|
+
* <li>解析动态参数的值, 若参数值是用{}包裹的, 则该参数值称为'动态参数', '动态参数'需要被替换成实际的值,
|
49
49
|
* <ul>
|
50
50
|
* <li>{WAREHOUSE}: 当前仓库编号</li>
|
51
51
|
* <li>{WORK_STATION}: 当前工作站</li>
|
@@ -63,7 +63,7 @@ export declare class KgUtil {
|
|
63
63
|
* @param param.value 参数的原始值.
|
64
64
|
* @param param.varName 变量名称.
|
65
65
|
*/
|
66
|
-
static
|
66
|
+
static parseParamsFromString(param: {
|
67
67
|
$dayjs?: typeof dayjs;
|
68
68
|
formID?: string | null;
|
69
69
|
value: string;
|
@@ -76,7 +76,7 @@ export declare class KgUtil {
|
|
76
76
|
* @param param.key 属性名.
|
77
77
|
* @param param.value 参数的原始值.
|
78
78
|
*/
|
79
|
-
static
|
79
|
+
static parseParamsFromDayjs(param: {
|
80
80
|
formID?: string | null;
|
81
81
|
isPad?: boolean;
|
82
82
|
key: string;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@kengic/vue",
|
3
|
-
"version": "0.26.6-beta.
|
3
|
+
"version": "0.26.6-beta.137",
|
4
4
|
"scripts": {
|
5
5
|
"build": "npm run use-node && rimraf dist && vue-tsc && vite build",
|
6
6
|
"build:dev": "npm run use-node && rimraf dist && vue-tsc && vite build --mode development",
|