文件上传
This commit is contained in:
parent
fc139ebf1d
commit
9272282b1d
@ -195,6 +195,7 @@ watch(
|
|||||||
},
|
},
|
||||||
{ immediate: true, deep: true }
|
{ immediate: true, deep: true }
|
||||||
)
|
)
|
||||||
|
|
||||||
// 发送文件链接列表更新用于上传文件后
|
// 发送文件链接列表更新用于上传文件后
|
||||||
const emitUpdateModelValue = () => {
|
const emitUpdateModelValue = () => {
|
||||||
// 情况1:数组结果
|
// 情况1:数组结果
|
||||||
@ -206,6 +207,7 @@ const emitUpdateModelValue = () => {
|
|||||||
// console.log("result",result)
|
// console.log("result",result)
|
||||||
emit('update:modelValue', result)
|
emit('update:modelValue', result)
|
||||||
}
|
}
|
||||||
|
|
||||||
// 发送文件链接列表更新用于删除文件后
|
// 发送文件链接列表更新用于删除文件后
|
||||||
const emitUpdateModelValue2 = () => {
|
const emitUpdateModelValue2 = () => {
|
||||||
// 情况1:数组结果
|
// 情况1:数组结果
|
||||||
@ -218,6 +220,7 @@ const emitUpdateModelValue2 = () => {
|
|||||||
emit('update:modelValue', result)
|
emit('update:modelValue', result)
|
||||||
MysqlUrl.value = []
|
MysqlUrl.value = []
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.upload-file-uploader {
|
.upload-file-uploader {
|
||||||
|
Loading…
Reference in New Issue
Block a user