comfirmLoding

This commit is contained in:
李浩
2018-04-10 08:59:16 +08:00
parent 99ec9facd3
commit d89320f578
+1 -1
View File
@@ -33,7 +33,7 @@ const User = ({
item: modalType === 'create' ? {} : currentItem,
visible: modalVisible,
maskClosable: false,
confirmLoading: loading.effects['user/update'],
confirmLoading: loading.effects[`user/${modalType}`],
title: `${modalType === 'create' ? 'Create User' : 'Update User'}`,
wrapClassName: 'vertical-center-modal',
onOk (data) {