Commit 533b0b3c authored by lixin's avatar lixin

讲师账号必填

parent b027e386
...@@ -125,10 +125,31 @@ ...@@ -125,10 +125,31 @@
:auto-size="{ minRows: 3, maxRows: 5 }" :auto-size="{ minRows: 3, maxRows: 5 }"
/> />
</a-form-model-item> </a-form-model-item>
<a-form-model-item label="讲师账号">
<a-input v-model="formModel.account" disabled v-if="modalType == 'edit'"/> <a-form-model-item
<a-input v-model="formModel.account" v-if="modalType == 'add'"/> 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>
<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-form-model>
</a-modal> </a-modal>
</template> </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