Closed vonweb closed 6 years ago
现在有header.art,footer.art模板文件,他们都需要一个变量imgUrl,想通过template.default.$imports.imgUrl='xxxxx'实现,但一直报undefined,请问大神该如何实现
https://aui.github.io/art-template/zh-cn/docs/imports.html
现在有header.art,footer.art模板文件,他们都需要一个变量imgUrl,想通过template.default.$imports.imgUrl='xxxxx'实现,但一直报undefined,请问大神该如何实现