yootd 0.2.41 → 0.2.43
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.
@@ -60,7 +60,8 @@ export var VideoPlayer = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
60
60
|
onPlayStateChange = _ref.onPlayStateChange,
|
61
61
|
onCapture = _ref.onCapture,
|
62
62
|
onCurrentTimeChange = _ref.onCurrentTimeChange,
|
63
|
-
onError = _ref.onError
|
63
|
+
onError = _ref.onError,
|
64
|
+
poster = _ref.poster;
|
64
65
|
var containerRef = useRef(null);
|
65
66
|
var pcRef = useRef(null);
|
66
67
|
var videoRef = useRef(null);
|
@@ -1071,6 +1072,7 @@ export var VideoPlayer = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
1071
1072
|
}, "\u89C6\u9891\u6B63\u5728\u7F13\u51B2\u4E2D...")
|
1072
1073
|
}, /*#__PURE__*/React.createElement("video", {
|
1073
1074
|
ref: videoRef,
|
1075
|
+
poster: poster,
|
1074
1076
|
muted: muted !== null && muted !== void 0 ? muted : false,
|
1075
1077
|
autoPlay: autoPlay !== null && autoPlay !== void 0 ? autoPlay : false,
|
1076
1078
|
onCanPlay: handleCanPlay,
|
package/dist/year-term/index.js
CHANGED
@@ -38,7 +38,7 @@ export var YearTerm = function YearTerm(_ref) {
|
|
38
38
|
var _useQuery = useQuery({
|
39
39
|
queryKey: ['yearData'],
|
40
40
|
queryFn: function queryFn() {
|
41
|
-
return request('/v1/education/
|
41
|
+
return request('/v1/education/addition/school/year/install/all');
|
42
42
|
},
|
43
43
|
enabled: type === 'year' || type === 'yearTerm'
|
44
44
|
}),
|
@@ -60,8 +60,8 @@ export var YearTerm = function YearTerm(_ref) {
|
|
60
60
|
var _yearData$content;
|
61
61
|
return yearData === null || yearData === void 0 || (_yearData$content = yearData.content) === null || _yearData$content === void 0 ? void 0 : _yearData$content.map(function (item) {
|
62
62
|
return {
|
63
|
-
label: item.
|
64
|
-
value: item.
|
63
|
+
label: item.schoolYear,
|
64
|
+
value: item.yearId
|
65
65
|
};
|
66
66
|
});
|
67
67
|
}, [yearData]);
|