problem description
I have a swiper child component, in which the picture is requested by the parent component and then passed to the child component. If the swiper is blank when the parent component is not requested, how to set a default image when the data is not available. SUNING has this effect
the environmental background of the problems and what methods you have tried
I can"t set it under the value property under properties.
related codes
/ / Please paste the code text below (do not replace the code with pictures)
imgUrls: {
type: Object,
value: ["../img/bg_indexbanner.jpg","../img/bg_indexbanner.jpg"]
}
what result do you expect? What is the error message actually seen?
Picture description