<template> <Q-Card :height="100" :width="'200px'"> <div slot="header"> <QTitle :icon="this.$route.meta.icon" :title="this.$route.meta.title"></QTitle> </div> </Q-Card> </template> <script> export default { data() { return { $route: { meta: { icon: 'el-icon-goods', title: '测试' } } } } } </script>
← Q-Card 自适应卡片 Q-Editor 富文本 →