Closed winston1991 closed 4 years ago
试试:title-width="400"
这样
刚刚试了,也不行
<!DOCTYPE html>
<html>
<head>
<title>DataV</title>
<script src="https://unpkg.com/vue"></script>
<!--调试版-->
<script src="https://unpkg.com/@jiaminghi/data-view/dist/datav.map.vue.js"></script>
<style>
html, body, #app {
width: 100%;
height: 100%;
margin: 0px;
padding: 0px;
}
.border-box-content {
color: rgb(66,185,131);
font-size: 40px;
font-weight: bold;
display: flex;
justify-content: center;
align-items: center;
}
</style>
</head>
<body>
<div id="app">
<dv-border-box-11 :title-width="500">Welcome to DataV</dv-border-box-11>
</div>
<script>
var app = new Vue({
el: '#app'
})
</script>
</body>
</html>
ok 了, 谢谢大佬
如果可以设置title-height就更好了
Bug report
边框类11 dv-border-box-11 中titleWidth属性设置无效,
出现Bug的组件?
dv-border-box-11 无法设置标题宽度
组件配置数据?
dv-border-box-11 class="border-box" titleWidth=250 title="车间列表"
控制台错误输出?
期望情况?
期望上面那个设置文字的框框可以设置宽最好高也可以设置, 特别是文字较多 字体较大时就会溢出来
实际情况?
其他相关信息