提交 ba6dc019 authored 作者: 王鹏飞's avatar 王鹏飞

bug fixes

上级 ea20a171
......@@ -40,7 +40,7 @@ const form = reactive<BookCreateItem>({
})
watchEffect(() => {
if (!props.data) return
form.files = [{ name: props.data.name, url: props.data.url }]
form.files = [{ name: props.data.name, url: props.data.url, type: props.data.type }]
Object.assign(form, { protocol: true }, props.data)
})
watchEffect(() => {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论