页面能正常显示, 控制台可能也没有报错,有警告,然后文件不显示
其实就是引用文件没有export
<templ……
<a :href="xxx"
<templ……
<script>
import xxx from '@/assets/xxx.pdf'
export default {
name: 'StudyView'
data() {//没有就会报错was accessed during render but is not defined on instance.
return {
xxx
}
}

5万+

被折叠的 条评论
为什么被折叠?



