<el-form-item label="綜合利用">
<el-checkbox-group v-model="form.functemp">
<el-checkbox :label="32">防洪</el-checkbox>
<el-checkbox :label="16">灌溉</el-checkbox>
<el-checkbox :label="8">調峰調頻</el-checkbox>
<el-checkbox :label="4">供水</el-checkbox>
<el-checkbox :label="2">無</el-checkbox>
<el-checkbox :label="1">其他</el-checkbox>
</el-checkbox-group>
</el-form-item>
其中form對象本身沒有functemp這個屬性
解決方法:
this.form = { ...this.form, functemp: [] }
