Auto Submit

pull/1/head
autosubmit 2 years ago
parent 0401a02815
commit ff98a28d64

@ -1682,6 +1682,9 @@ var CuttOffNowShixun = function CuttOffNowShixun(_ref) {
if (attachment.actionTabs.key === "选用资源" && hasMore) {
getData();
}
if (attachment.actionTabs.key !== "选用资源" && hasMore) {
setTabData([]);
}
}, [attachment.actionTabs.key, hasMore, tabKey]);
var groupIdsInitialValues = [];
var getData = /*#__PURE__*/function () {
@ -2018,6 +2021,7 @@ function SimpleTable(_ref6) {
}
}];
return /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
loading: loadingData,
pagination: false,
columns: columns,
className: SelectAttchmentmodules.table,

@ -1638,7 +1638,8 @@ var LessonPage = function LessonPage(_ref) {
message: '请输入资源名称'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
placeholder: "\u8BF7\u8F93\u5165\u8D44\u6E90\u540D\u79F0"
placeholder: "\u8BF7\u8F93\u5165\u8D44\u6E90\u540D\u79F0",
maxLength: 60
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
htmlFor: null,
@ -1653,7 +1654,7 @@ var LessonPage = function LessonPage(_ref) {
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
placeholder: "\u8BF7\u8F93\u5165\u94FE\u63A5\u8D44\u6E90",
maxLength: 60
maxLength: 150
})
})]
})
@ -1681,10 +1682,10 @@ var LessonPage = function LessonPage(_ref) {
return regeneratorRuntime_default()().wrap(function _callee7$(_context7) {
while (1) switch (_context7.prev = _context7.next) {
case 0:
ValueAll.attachment_ids = ValueAll === null || ValueAll === void 0 || (_ValueAll$attachment_ = ValueAll.attachment_ids) === null || _ValueAll$attachment_ === void 0 ? void 0 : _ValueAll$attachment_.map(function (item) {
ValueAll.attachment_ids = (ValueAll === null || ValueAll === void 0 || (_ValueAll$attachment_ = ValueAll.attachment_ids) === null || _ValueAll$attachment_ === void 0 ? void 0 : _ValueAll$attachment_.map(function (item) {
var _item$response;
return item === null || item === void 0 || (_item$response = item.response) === null || _item$response === void 0 ? void 0 : _item$response.id;
});
})) || [];
_context7.next = 3;
return dispatch({
type: "virtualSpaces/postAddLessonRes",

@ -685,7 +685,8 @@ var Page = function Page(_ref) {
className: "ml20",
style: {
flexDirection: "column",
flex: 1
flex: 1,
position: "relative"
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "topLeft",
@ -700,9 +701,6 @@ var Page = function Page(_ref) {
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
className: Materialmodules.MultiLine3,
style: {
marginTop: name.length < 13 && "35px"
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, {
showTextOnly: true,
value: "简介:" + (description || '暂未填写内容~')

@ -121,7 +121,8 @@
color: #000;
}
.wrap___VxAa4 .PieceFenbuList___gzTyL .PieceFenbuItem___Z9J18 .MultiLine3___KeM07 {
margin-top: 10px;
position: absolute;
top: 70px;
word-break: break-all;
overflow: hidden;
text-overflow: ellipsis;

@ -977,14 +977,13 @@ var Page = function Page(_ref) {
setFileList(data);
} else {
var recursion = function recursion(reValue) {
var _reValue$children;
reValue === null || reValue === void 0 || (_reValue$children = reValue.children) === null || _reValue$children === void 0 || _reValue$children.map(function (item) {
reValue === null || reValue === void 0 || reValue.map(function (item) {
var _item$children;
(item === null || item === void 0 || (_item$children = item.children) === null || _item$children === void 0 ? void 0 : _item$children.length) != 0 && recursion(item);
(item === null || item === void 0 || (_item$children = item.children) === null || _item$children === void 0 ? void 0 : _item$children.length) != 0 && recursion(item === null || item === void 0 ? void 0 : item.children);
items.push(item);
});
};
recursion(data === null || data === void 0 ? void 0 : data[0]);
recursion(data);
items.map(function (item) {
(item === null || item === void 0 ? void 0 : item.id) == (fileItem === null || fileItem === void 0 ? void 0 : fileItem.id) && setFileItem(item);
});

Loading…
Cancel
Save