@eeplatform/nuxt-layer-common 1.7.10 → 1.7.11
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.
- package/CHANGELOG.md +6 -0
- package/composables/useBasicEdu.ts +5 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -104,8 +104,11 @@ export default function useBasicEdu() {
|
|
|
104
104
|
},
|
|
105
105
|
];
|
|
106
106
|
|
|
107
|
-
function generateSchoolYears(
|
|
108
|
-
|
|
107
|
+
function generateSchoolYears(
|
|
108
|
+
generation = 0,
|
|
109
|
+
mode = "past",
|
|
110
|
+
currentYear = new Date().getFullYear()
|
|
111
|
+
) {
|
|
109
112
|
const years = [];
|
|
110
113
|
|
|
111
114
|
if (mode === "past") {
|