标签:nbsp temp code lte ted style mod rgb url
界面
<template> <div align="center" > <component :is=‘modelUrl‘ ref=‘child‘ :data=‘data‘ ></component> </div> </template>
定义
data() { return { modelUrl: null } },
components: {
},
props: [ ‘data‘],
mounted() {
this.modelUrl = () => import(‘../tempalte/‘+filename+‘.vue‘)
},
标签:nbsp temp code lte ted style mod rgb url
原文地址:https://www.cnblogs.com/7215217758991l/p/14537141.html