博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
<el-col v-if="newEditFlag" key="1" :span="8">
              <el-form-item label="联系电话:" prop="startUserTel">
                <el-input v-model="basicInfo.startUserTel" placeholder="请输入" />
              </el-form-item>
            </el-col>
            <el-col v-else key="2" :span="8">
              <el-form-item label="联系电话:">
                <el-input v-model="basicInfo.startUserTel" disabled />
              </el-form-item>
            </el-col>

  绑定key值