Commit 80b542ba authored by 乐宝呗666's avatar 乐宝呗666

修改fileList的问题

parent d6424196
...@@ -24,19 +24,18 @@ export default { ...@@ -24,19 +24,18 @@ export default {
props:{ props:{
fileList:{ fileList:{
type:Array, type:Array,
default:[] default:[
{
name: "",
url: "",
},
]
}, },
}, },
data() { data() {
return { return {
dialogImageUrl: "", dialogImageUrl: "",
dialogVisible: false, dialogVisible: false,
fileList: [
{
name: "",
url: "",
},
],
}; };
}, },
computed: { computed: {
......
...@@ -24,7 +24,12 @@ export default { ...@@ -24,7 +24,12 @@ export default {
props:{ props:{
fileList:{ fileList:{
type:Array, type:Array,
default:[] default:[
{
name: "",
url: "",
},
]
}, },
}, },
data() { data() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment