<div class="row">
    <label for="code" class="col-2 text-info">项目代码</label>
    <input type="text"  id="code" class="form-control form-control-sm col-7 mb-0" :class="errors.code ? 'is-invalid' : ''" v-model="owner.code">
    <span class="invalid-feedback mt-0 offset-2" role="alert" v-if="errors.code">
        <strong>@{{ errors.code[0] }}</strong>
    </span>
</div>
<div class="row mt-3">
    <label for="name" class="col-2 text-info">项目名称</label>
    <input type="text"  id="name" class="form-control form-control-sm col-7 mb-0" :class="errors.name ? 'is-invalid' : style" v-model="owner.name">
    <span class="invalid-feedback mt-0 offset-2" role="alert" v-if="errors.name">
        <strong>@{{ errors.name[0] }}</strong>
    </span>
</div>