Created
November 2, 2017 06:15
-
-
Save QETHAN/55a51b01f2d6348a5bc1469e2d102471 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="content"> | |
<div class="content-inner"> | |
<el-form :model="formData" status-icon :rules="rules" ref="myForm" label-width="100px" class="demo-ruleForm"> | |
<el-form-item label="IP" prop="server_ip"> | |
<el-input v-model="formData.server_ip"></el-input> | |
</el-form-item> | |
<el-form-item label="用户名" prop="username"> | |
<el-input v-model="formData.username"></el-input> | |
</el-form-item> | |
<el-form-item label="密码" prop="password"> | |
<el-input v-model="formData.password"></el-input> | |
</el-form-item> | |
<el-form-item> | |
<el-button type="primary" @click="submitForm('myForm')">提交</el-button> | |
</el-form-item> | |
</el-form> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment