|
|
|
|
@ -724,6 +724,7 @@ var DownIntoClass = function DownIntoClass(_ref) {
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
maxHeight: 260,
|
|
|
|
|
minHeight: 120,
|
|
|
|
|
overflow: 'auto',
|
|
|
|
|
paddingRight: 10
|
|
|
|
|
},
|
|
|
|
|
@ -1146,10 +1147,12 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z, {
|
|
|
|
|
disabled: isClassCreator || ((0,authority/* isAdminOrCreator */.aN)() ? !(0,authority/* isAdminOrCreator */.aN)() : !((0,authority/* isAdminOrTeacher */.G5)() && (record === null || record === void 0 ? void 0 : record.role) === '助教')),
|
|
|
|
|
placement: "bottomCenter",
|
|
|
|
|
autoAdjustOverflow: false,
|
|
|
|
|
overlayStyle: {
|
|
|
|
|
zIndex: 900
|
|
|
|
|
},
|
|
|
|
|
open: index === visibleIndex && !per,
|
|
|
|
|
destroyPopupOnHide: true,
|
|
|
|
|
dropdownRender: function dropdownRender() {
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
onMouseEnter: function onMouseEnter() {
|
|
|
|
|
@ -1170,7 +1173,7 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: isClassCreator ? "c-grey-999" : "c-green",
|
|
|
|
|
className: isClassCreator ? "c-grey-999 cursorDefault" : "c-green cursorDefault",
|
|
|
|
|
onMouseEnter: function onMouseEnter() {
|
|
|
|
|
return handleEnter(index, text);
|
|
|
|
|
},
|
|
|
|
|
|