|
|
@@ -92,7 +92,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
|
-import { ref, inject } from "vue";
|
|
|
+import { ref, inject ,onMounted } from "vue";
|
|
|
import { userInfoStore } from "../../stores/counter";
|
|
|
import addClassDialog from "./addClassDialog.vue";
|
|
|
const emit = defineEmits(["success", "changeClassList"]);
|
|
|
@@ -109,6 +109,11 @@ const selectId = ref("");
|
|
|
const userInfo = userInfoStore();
|
|
|
console.log('userInfo',userInfo.user)
|
|
|
const addClassDialogRef = ref(null);
|
|
|
+onMounted(() => {
|
|
|
+ window.setCourseUrl = function () {
|
|
|
+ courseUrl.value = ''
|
|
|
+ }
|
|
|
+})
|
|
|
|
|
|
const getClasslist = (options) => {
|
|
|
courseDetail.value = JSON.parse(JSON.stringify(options));
|