@zgfe/modules-dm 1.0.57-zhongyuan.22 → 1.0.57-zhongyuan.24
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.
|
@@ -501,7 +501,10 @@ var TypeComponent = function TypeComponent(_ref2) {
|
|
|
501
501
|
setDictList = _useState26[1];
|
|
502
502
|
var getDictList = function getDictList() {
|
|
503
503
|
request(apis.dict.dictList, {
|
|
504
|
-
|
|
504
|
+
method: 'post',
|
|
505
|
+
data: {
|
|
506
|
+
appId: currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId
|
|
507
|
+
}
|
|
505
508
|
}).then(function (res) {
|
|
506
509
|
if ((res === null || res === void 0 ? void 0 : res.code) == '100000') {
|
|
507
510
|
var _res$data;
|
|
@@ -642,9 +645,9 @@ var TypeComponent = function TypeComponent(_ref2) {
|
|
|
642
645
|
// defaultValue={Number(optionsValue.filter((r) => r.ruleType == type)[0].content)}
|
|
643
646
|
, {
|
|
644
647
|
// defaultValue={Number(optionsValue.filter((r) => r.ruleType == type)[0].content)}
|
|
645
|
-
value:
|
|
648
|
+
value: optionsValue.filter(function (r) {
|
|
646
649
|
return r.ruleType == type;
|
|
647
|
-
})[0].content
|
|
650
|
+
})[0].content,
|
|
648
651
|
placeholder: "\u9009\u62E9\u5B57\u5178\u89C4\u5219",
|
|
649
652
|
options: dictList,
|
|
650
653
|
onChange: function onChange(value) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/modules-dm",
|
|
3
|
-
"version": "1.0.57-zhongyuan.
|
|
3
|
+
"version": "1.0.57-zhongyuan.24",
|
|
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": "96e95641adf9d505a8b926d420a1c25b985ff06c",
|
|
61
61
|
"gitHooks": {
|
|
62
62
|
"pre-commit": "lint-staged"
|
|
63
63
|
}
|