yootd 0.2.42 → 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.
@@ -1,7 +1,7 @@
|
|
1
|
-
.yot-preview-phone {
|
2
|
-
width: 398px;
|
3
|
-
height: 829px;
|
4
|
-
background-size: 100% 100%;
|
5
|
-
padding: 96px 36px 20px 36px;
|
6
|
-
box-sizing: border-box;
|
7
|
-
}
|
1
|
+
.yot-preview-phone {
|
2
|
+
width: 398px;
|
3
|
+
height: 829px;
|
4
|
+
background-size: 100% 100%;
|
5
|
+
padding: 96px 36px 20px 36px;
|
6
|
+
box-sizing: border-box;
|
7
|
+
}
|
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]);
|