swtich
<el-radio v-model="contractData.contractCreateData.createMain" label="1">是</el-radio> <el-radio v-model="contractData.contractCreateData.createMain" label="0">否</el-radio>--> <el-switch v-model="contractData.contractCreateData.createMain" active-color="#409eff" inactive-color="#dcdfe6" active-value="1" inactive-value="0" @change="isCreateNewChange($event,contractData.contractCreateData)"> </el-switch>