03 2021 档案

ERROR:Failed to mount component: template or render function not defined.
摘要:{ path: '/lnguage', component: import('../components/Content/languageTools.vue') //报错原因 }, 应该改成 { path: '/lnguage', component: require('../components/ 阅读全文

posted @ 2021-03-31 01:08 In-6026 阅读(153) 评论(0) 推荐(0)

vue动态绑定图片,找不到图片地址
摘要:html: <ul> <li v-for="(i, index) in imgArray"> <img :src="i.imgs" :alt="index"/> </li> </ul> vue: data: { imgArray: [ {imgs: '../img/01.png'}, //这样是找不 阅读全文

posted @ 2021-03-23 14:30 In-6026 阅读(169) 评论(0) 推荐(0)

百分比页面,怎么解决边框问题
摘要:.myDiv{ height: 20px; width: calc(20% - 2px); border: 1px solid red; } 阅读全文

posted @ 2021-03-06 23:19 In-6026 阅读(54) 评论(0) 推荐(0)

导航