feat:合并

This commit is contained in:
lixg
2022-12-20 17:30:49 +08:00
4 changed files with 33 additions and 6 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>