@zgfe/modules-dm 1.0.56-zhongyuan.21 → 1.0.56-zhongyuan.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.
|
@@ -102,7 +102,10 @@ var RightDetail = function RightDetail(props) {
|
|
|
102
102
|
};
|
|
103
103
|
}();
|
|
104
104
|
var handleChange = function handleChange(info) {
|
|
105
|
-
|
|
105
|
+
var _info$fileList;
|
|
106
|
+
info.fileList && setImageUrl([_objectSpread(_objectSpread({}, (_info$fileList = info.fileList) === null || _info$fileList === void 0 ? void 0 : _info$fileList[0]), {}, {
|
|
107
|
+
status: 'done'
|
|
108
|
+
})]);
|
|
106
109
|
if (info.file.status === 'uploading') {
|
|
107
110
|
setLoading(true);
|
|
108
111
|
return;
|
|
@@ -115,7 +118,6 @@ var RightDetail = function RightDetail(props) {
|
|
|
115
118
|
}
|
|
116
119
|
};
|
|
117
120
|
var handleRemoveFile = function handleRemoveFile(file) {
|
|
118
|
-
console.log(file, imageUrl, 'kk');
|
|
119
121
|
// const newArr = imageUrl?.filter((o) => o.name != file.name);
|
|
120
122
|
setImageUrl([]);
|
|
121
123
|
setImagePath('');
|
|
@@ -39,7 +39,6 @@ var SelectAttr = function SelectAttr(_ref) {
|
|
|
39
39
|
}));
|
|
40
40
|
};
|
|
41
41
|
var handleSelectFlexValues = function handleSelectFlexValues(value) {
|
|
42
|
-
console.log(value, 'ss');
|
|
43
42
|
value[0] && setCurrentData(function (pre) {
|
|
44
43
|
return _objectSpread(_objectSpread({}, a), {}, {
|
|
45
44
|
values: value
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/modules-dm",
|
|
3
|
-
"version": "1.0.56-zhongyuan.
|
|
3
|
+
"version": "1.0.56-zhongyuan.22",
|
|
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": "9202d80b68f891c992848a8fe1dbb7d5827b47ae",
|
|
61
61
|
"gitHooks": {
|
|
62
62
|
"pre-commit": "lint-staged"
|
|
63
63
|
}
|