|
|
|
|
@ -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",
|
|
|
|
|
|