|
@@ -10,8 +10,8 @@
|
|
|
</el-col>
|
|
|
<el-col :span='12'>
|
|
|
<div class='start'>图例名称</div>
|
|
|
- <!-- <el-input v-model='ruleForm.Name' style='width:200px;height:32px;'></el-input> -->
|
|
|
- <Input v-model='ruleForm.Name' placeholder :maxlength='maxlength' style='width:200px' />
|
|
|
+ <el-input v-model='ruleForm.Name' class='reset-input-name' oninput='if(value.length>20)value=value.slice(0,20)'></el-input>
|
|
|
+ <!-- <Input v-model='ruleForm.Name' placeholder style='width:200px;' @input='if(value.length>11)value=value.slice(0,11)' /> -->
|
|
|
</el-col>
|
|
|
<el-col :span='12' style='margin-top:20px'>
|
|
|
<div class>单位</div>
|
|
@@ -535,6 +535,14 @@ export default {
|
|
|
.ant-input-number {
|
|
|
border-radius: 4px 0 0 4px;
|
|
|
}
|
|
|
+ .reset-input-name {
|
|
|
+ /deep/ .el-input__inner {
|
|
|
+ width: 200px;
|
|
|
+ height: 32px;
|
|
|
+ line-height: 32px;
|
|
|
+ // border: 1px solid #c3c7cb;
|
|
|
+ }
|
|
|
+ }
|
|
|
// .add-form-type {
|
|
|
// /deep/ .p-select .p-select-header {
|
|
|
// height: 40px;
|