@kmkf-fe-packages/services-components 0.7.12-alpha.2 → 0.7.12-alpha.3
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.
|
@@ -35,25 +35,26 @@ var BuyerNick = /*#__PURE__*/_createClass(function BuyerNick(options) {
|
|
|
35
35
|
_defineProperty(this, "canSort", void 0);
|
|
36
36
|
_defineProperty(this, "children", void 0);
|
|
37
37
|
_defineProperty(this, "renderTaoBaoWangWang", function (record, params) {
|
|
38
|
-
var
|
|
38
|
+
var _this$id$split = _this.id.split('_'),
|
|
39
|
+
_this$id$split2 = _slicedToArray(_this$id$split, 1),
|
|
40
|
+
first = _this$id$split2[0];
|
|
39
41
|
return /*#__PURE__*/React.createElement("span", {
|
|
40
42
|
onClick: function onClick() {
|
|
41
|
-
|
|
42
|
-
typeof params.openWangWang === 'function' && params.openWangWang(record === null || record === void 0 ? void 0 : (_record$_this$id = record[_this.id]) === null || _record$_this$id === void 0 ? void 0 : _record$_this$id.buyerNick, record === null || record === void 0 ? void 0 : (_record$_this$id2 = record[_this.id]) === null || _record$_this$id2 === void 0 ? void 0 : _record$_this$id2.buyerOpenUid);
|
|
43
|
+
typeof params.openWangWang === 'function' && params.openWangWang(record === null || record === void 0 ? void 0 : record[_this.id], record === null || record === void 0 ? void 0 : record["".concat(first, "_enterprisePaymentBuyerOpenUid")]);
|
|
43
44
|
}
|
|
44
45
|
}, /*#__PURE__*/React.createElement("img", {
|
|
45
46
|
alt: "\u8BF7\u70B9\u51FB\u76F4\u63A5\u8BBF\u95EE",
|
|
46
47
|
src: wangImg
|
|
47
48
|
}), /*#__PURE__*/React.createElement("span", {
|
|
48
49
|
className: "fc_blue wangwangname"
|
|
49
|
-
}, record === null || record === void 0 ? void 0 :
|
|
50
|
+
}, record === null || record === void 0 ? void 0 : record[_this.id]));
|
|
50
51
|
});
|
|
51
52
|
_defineProperty(this, "renderClient", function (record, params) {
|
|
52
|
-
var _record$_this$
|
|
53
|
+
var _record$_this$id;
|
|
53
54
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
54
55
|
id: _this.id,
|
|
55
56
|
label: _this.name,
|
|
56
|
-
value: (params === null || params === void 0 ? void 0 : params.platform) === 'tb' ? _this.renderTaoBaoWangWang(record, params) : record === null || record === void 0 ? void 0 : (_record$_this$
|
|
57
|
+
value: (params === null || params === void 0 ? void 0 : params.platform) === 'tb' ? _this.renderTaoBaoWangWang(record, params) : record === null || record === void 0 ? void 0 : (_record$_this$id = record[_this.id]) === null || _record$_this$id === void 0 ? void 0 : _record$_this$id.buyerNick
|
|
57
58
|
}) : null;
|
|
58
59
|
});
|
|
59
60
|
_defineProperty(this, "editRender", function () {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "0.7.12-alpha.
|
|
3
|
+
"version": "0.7.12-alpha.3",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"gitHooks": {
|
|
41
41
|
"pre-commit": "lint-staged"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "a7cfb73506eba640ec7560967401f45d7121350c"
|
|
44
44
|
}
|