提交 4521ba12 编写于 作者: Shine-zwj's avatar Shine-zwj

update:更新

上级 57f5910c
.app-preset-button.ivu-button {
.app-preset-button {
height: 40px;
width: 100%;
.ivu-btn {
width: 100%;
height: 100%;
}
.ivu-button {
font-size: 12px;
>span {
......@@ -39,14 +46,13 @@
justify-content: flex-start;
}
}
}
// 加载效果
.app-preset-button.ivu-btn-loading {
}
.ivu-btn-loading {
display: flex;
line-height: 2;
.ivu-icon-ios-loading {
line-height: 2;
}
}
}
\ No newline at end of file
<template>
<div :class="curClassName" :style="curStyle">
<i-button
:class="curClassName"
:style="curStyle"
:type="buttonType"
:disabled="disabled"
:title="tooltip"
......@@ -16,6 +15,7 @@
<span v-if="showCaption" class="caption">{{ caption }}</span>
</div>
</i-button>
</div>
</template>
<script lang="ts">
......
......@@ -146,7 +146,7 @@ export default class AppPresetText extends Vue {
*/
get renderMode() {
const layoutModel = this.layoutModelDetails[this.name];
return layoutModel.renderMode;
return layoutModel.renderMode || 'TEXT';
}
/**
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册