🐛(select): 修复验证边框颜色

This commit is contained in:
就眠儀式 2022-11-06 18:12:12 +08:00
parent c0292f63ea
commit b209794ab8
2 changed files with 3 additions and 3 deletions

View File

@ -100,7 +100,7 @@
.layui-input-block, .layui-input-block,
.layui-input-inline { .layui-input-inline {
.layui-form-danger { .layui-form-danger {
&, .layui-textarea, .layui-tag-input { &, .layui-textarea, .layui-tag-input, .layui-input {
border-color: #ff5722 !important; border-color: #ff5722 !important;
} }
} }

View File

@ -159,7 +159,7 @@ export default {
<lay-input v-model="validateModel.password" type="password">></lay-input> <lay-input v-model="validateModel.password" type="password">></lay-input>
</lay-form-item> </lay-form-item>
<lay-form-item label="爱好" prop="hobby"> <lay-form-item label="爱好" prop="hobby">
<lay-select v-model="validateModel.hobbys" multiple> <lay-select v-model="validateModel.hobbys">
<lay-select-option value="1" label="学习"></lay-select-option> <lay-select-option value="1" label="学习"></lay-select-option>
<lay-select-option value="2" label="编码"></lay-select-option> <lay-select-option value="2" label="编码"></lay-select-option>
<lay-select-option value="3" label="运动"></lay-select-option> <lay-select-option value="3" label="运动"></lay-select-option>
@ -192,7 +192,7 @@ export default {
username: "", username: "",
password: "", password: "",
specialty: "1", specialty: "1",
hobbys: [] hobbys: ""
}) })
const layFormRef = ref(null); const layFormRef = ref(null);