赞
踩
原本是这样写的,控制台就会报标题的错误
- <el-select class="select" v-model="ruleForm.defaultlanguageid" multiple multiple-limit=1 placeholder="">
- <el-option
- v-for="item in deflanguageoptions"
- :key="item.id"
- :label="item.languagename"
- :value="item.id">
- </el-option>
- </el-select>
改成这样,就加冒号:并为字符串才行
- <el-select class="select" v-model="ruleForm.defaultlanguageid" multiple :multiple-limit="1" placeholder="">
- <el-option
- v-for="item in deflanguageoptions"
- :key="item.id"
- :label="item.languagename"
- :value="item.id">
- </el-option>
- </el-select>
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。