mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-05 19:41:40 +08:00
style(form): 优化feildset,grouplist样式
This commit is contained in:
parent
b24b3749c4
commit
9741c4f3df
@ -1,9 +1,5 @@
|
||||
<template>
|
||||
<fieldset
|
||||
v-if="name ? model[name] : model"
|
||||
class="m-fieldset"
|
||||
:style="show ? 'padding: 15px 15px 0 5px;' : 'border: 0'"
|
||||
>
|
||||
<fieldset v-if="name ? model[name] : model" class="m-fieldset" :style="show ? 'padding: 15px' : 'border: 0'">
|
||||
<component v-if="name && config.checkbox" :is="!show ? 'div' : 'legend'">
|
||||
<TMagicCheckbox
|
||||
v-model="model[name].value"
|
||||
|
@ -25,7 +25,7 @@
|
||||
@addDiffCount="onAddDiffCount()"
|
||||
></MFieldsGroupListItem>
|
||||
|
||||
<TMagicButton @click="addHandler" size="small" :disabled="disabled" v-if="addable">新增</TMagicButton>
|
||||
<TMagicButton @click="addHandler" type="primary" :disabled="disabled" v-if="addable">新增</TMagicButton>
|
||||
|
||||
<TMagicButton :icon="Grid" size="small" @click="toggleMode" v-if="config.enableToggleMode">切换为表格</TMagicButton>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user