fix:面授课编辑附件删除问题,课程大纲问题

This commit is contained in:
wyx
2022-12-20 16:43:40 +08:00
parent 0509b2f979
commit a05136de4f
2 changed files with 25 additions and 3 deletions

View File

@@ -58,7 +58,7 @@
import {defineEmits, defineProps, ref, watch, onMounted} from "vue";
import Upload from "./BaseUpload.vue";
const emit = defineEmits({})
const emit = defineEmits(["changevalue"])
const props = defineProps({
value: String,
})
@@ -98,6 +98,7 @@ function init() {
function del(i) {
uploadRef.value.remove(i)
emit('changevalue', i)
}
</script>