Commit 533b0b3c authored by lixin's avatar lixin

讲师账号必填

parent b027e386
......@@ -125,10 +125,31 @@
:auto-size="{ minRows: 3, maxRows: 5 }"
/>
</a-form-model-item>
<a-form-model-item label="讲师账号">
<a-input v-model="formModel.account" disabled v-if="modalType == 'edit'"/>
<a-input v-model="formModel.account" v-if="modalType == 'add'"/>
<a-form-model-item
v-if="modalType == 'edit'"
label="讲师账号"
prop="account"
disabled
>
<a-input
v-model="formModel.account" disabled
>
</a-input>
</a-form-model-item>
<a-form-model-item
v-if="modalType == 'add'"
label="讲师账号"
prop="account"
disabled
>
<a-input
v-model="formModel.account"
>
</a-input>
</a-form-model-item>
</a-form-model>
</a-modal>
</template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment