Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.7k views
in Technique[技术] by (71.8m points)

el 表单一行多列布局怎么布局

想要的效果
image.png

:inline="true"之后直接变成
image.png

怎么把下面的直接设成独占一行

<el-form ref="form" :model="form" label-width="80px" size="mini" :inline="true">
     <el-form-item label="姓名">
        <el-input v-model="addAddForm.name"></el-input>
      </el-form-item>
        <el-form-item label="手机">
           <el-input v-model="addAddForm.phone"></el-input>
         </el-form-item>
         <el-form-item label="地址">
            <el-input style=”width:100px” v-model="addAddForm.add"></el-input>
          </el-form-item>
</el-form>

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

看到你自己写的width:100px了吗


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...