@zgfe/modules-dm 1.0.57-zhongyuan-dz.1 → 1.0.57-zhongyuan-dz.2
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.
|
@@ -446,7 +446,7 @@ var CreateMeta = function CreateMeta(props) {
|
|
|
446
446
|
labelType: type
|
|
447
447
|
}
|
|
448
448
|
}).then(function (res) {
|
|
449
|
-
if (res.code == '100000') {
|
|
449
|
+
if ((res === null || res === void 0 ? void 0 : res.code) == '100000') {
|
|
450
450
|
switch (type) {
|
|
451
451
|
case 2:
|
|
452
452
|
setBizTag(res.data.map(function (res) {
|
|
@@ -554,7 +554,7 @@ var TablePlus = function TablePlus(props) {
|
|
|
554
554
|
platform: currentMaidian.join()
|
|
555
555
|
}
|
|
556
556
|
}).then(function (res) {
|
|
557
|
-
if (res.code == '100000') {
|
|
557
|
+
if ((res === null || res === void 0 ? void 0 : res.code) == '100000') {
|
|
558
558
|
notification.success({
|
|
559
559
|
message: '更新成功'
|
|
560
560
|
});
|
|
@@ -584,7 +584,7 @@ var TablePlus = function TablePlus(props) {
|
|
|
584
584
|
remark: currentRemark
|
|
585
585
|
}
|
|
586
586
|
}).then(function (res) {
|
|
587
|
-
if (res.code == '100000') {
|
|
587
|
+
if ((res === null || res === void 0 ? void 0 : res.code) == '100000') {
|
|
588
588
|
notification.success({
|
|
589
589
|
message: '更新成功'
|
|
590
590
|
});
|
|
@@ -627,7 +627,7 @@ var TablePlus = function TablePlus(props) {
|
|
|
627
627
|
appId: getAppID(currentApp),
|
|
628
628
|
labelType: type
|
|
629
629
|
}).then(function (res) {
|
|
630
|
-
if (res.code == '100000') {
|
|
630
|
+
if ((res === null || res === void 0 ? void 0 : res.code) == '100000') {
|
|
631
631
|
switch (type) {
|
|
632
632
|
case 2:
|
|
633
633
|
setBizTag(res.data.map(function (res) {
|
|
@@ -806,7 +806,7 @@ var TablePlus = function TablePlus(props) {
|
|
|
806
806
|
className: "edit-alias-name",
|
|
807
807
|
onClick: function onClick() {
|
|
808
808
|
getTagList(2);
|
|
809
|
-
setBizTagId(
|
|
809
|
+
setBizTagId(record.businessLabelId);
|
|
810
810
|
setBizTagShow(true);
|
|
811
811
|
setEventId(record.event_id);
|
|
812
812
|
},
|
|
@@ -838,7 +838,7 @@ var TablePlus = function TablePlus(props) {
|
|
|
838
838
|
className: "edit-alias-name",
|
|
839
839
|
onClick: function onClick() {
|
|
840
840
|
getTagList(3);
|
|
841
|
-
setTriTagId(
|
|
841
|
+
setTriTagId(record.triggerLabelId);
|
|
842
842
|
setTriggeringInput(record.triggeringOccasion);
|
|
843
843
|
setTriggeringId(record.event_id);
|
|
844
844
|
setTriggeringShow(true);
|
|
@@ -1177,7 +1177,7 @@ var TablePlus = function TablePlus(props) {
|
|
|
1177
1177
|
reason: offlineText
|
|
1178
1178
|
}
|
|
1179
1179
|
}).then(function (res) {
|
|
1180
|
-
if (res.code == '100000') {
|
|
1180
|
+
if ((res === null || res === void 0 ? void 0 : res.code) == '100000') {
|
|
1181
1181
|
notification.success({
|
|
1182
1182
|
message: '下线成功'
|
|
1183
1183
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/modules-dm",
|
|
3
|
-
"version": "1.0.57-zhongyuan-dz.
|
|
3
|
+
"version": "1.0.57-zhongyuan-dz.2",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"typings": "es/index.d.ts",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"umi-request": "^1.4.0",
|
|
58
58
|
"yorkie": "^2.0.0"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "64ed4417e893b459e86bec995e2f0f76bd5f895e",
|
|
61
61
|
"gitHooks": {
|
|
62
62
|
"pre-commit": "lint-staged"
|
|
63
63
|
}
|