@kmkf-fe-packages/services-components 1.22.1-beta.21 → 1.22.1-beta.22
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.
|
@@ -39,7 +39,7 @@ var MemberLevel = /*#__PURE__*/_createClass(function MemberLevel(options) {
|
|
|
39
39
|
return r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_memberLevel")];
|
|
40
40
|
});
|
|
41
41
|
_defineProperty(this, "editRender", function (p) {
|
|
42
|
-
var _this$componentConfig, _this$componentConfig2, _this$componentConfig3, _this$componentConfig4
|
|
42
|
+
var _this$componentConfig, _this$componentConfig2, _this$componentConfig3, _this$componentConfig4;
|
|
43
43
|
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
44
44
|
title: _this.name,
|
|
45
45
|
name: _this.id,
|
|
@@ -52,12 +52,7 @@ var MemberLevel = /*#__PURE__*/_createClass(function MemberLevel(options) {
|
|
|
52
52
|
placeholder: "\u8BF7\u9009\u62E9\u4F1A\u5458\u7B49\u7EA7",
|
|
53
53
|
showSearch: true,
|
|
54
54
|
onChange: p === null || p === void 0 ? void 0 : p.onChange,
|
|
55
|
-
options:
|
|
56
|
-
return {
|
|
57
|
-
value: option,
|
|
58
|
-
label: option
|
|
59
|
-
};
|
|
60
|
-
}),
|
|
55
|
+
options: _this.options,
|
|
61
56
|
optionFilterProp: "label"
|
|
62
57
|
}))
|
|
63
58
|
});
|
|
@@ -111,7 +106,12 @@ var MemberLevel = /*#__PURE__*/_createClass(function MemberLevel(options) {
|
|
|
111
106
|
this.canSort = false;
|
|
112
107
|
this.children = [];
|
|
113
108
|
this.dataType = "array";
|
|
114
|
-
this.options = [
|
|
109
|
+
this.options = ["赏花官", "鉴花官", "伴花官", "护花官", "种花官", "店铺客户(非会员)"].map(function (item) {
|
|
110
|
+
return {
|
|
111
|
+
value: item,
|
|
112
|
+
label: item
|
|
113
|
+
};
|
|
114
|
+
});
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
// formDataTransform = (v: Array<{ labelShowName: string }>) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "1.22.1-beta.
|
|
3
|
+
"version": "1.22.1-beta.22",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "2ed714c99d7dddefc0efb8d2d2d4578302dd5e8f",
|
|
45
45
|
"gitHooks": {
|
|
46
46
|
"pre-commit": "lint-staged"
|
|
47
47
|
}
|