We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 973638d commit 8e14b21Copy full SHA for 8e14b21
src/components/editTable/index.vue
@@ -86,6 +86,7 @@
86
?
87
<col.editable.widget
88
vModel={row[column.prop]}
89
+ size={'small'}
90
on-input={this.onInput.bind(this, { row, column, index })}
91
on-blur={
92
trigger === 'blur' ? this.onBlur.bind(this, { row, column, index }) : () => {}
@@ -125,16 +126,12 @@
125
126
<style lang="scss" scoped>
127
.edit-table {
128
/deep/ .edit-col {
- .el-input__inner {
129
- height: 32px;
130
- line-height: 32px;
131
- }
+ /*小技巧:通过按钮和Input的尺寸来进行样式优化*/
132
.el-input-number .el-input__inner {
133
text-align: left;
134
}
135
.el-input-number {
136
width: 100%;
137
138
139
140
0 commit comments