Commit 2e633345 authored by XieZhiXiong's avatar XieZhiXiong

chore: 修改获取资金账户逻辑

parent 3fd90b1e
......@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2021-06-09 10:34:18
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-08-27 15:37:47
* @LastEditTime: 2021-10-08 14:30:06
* @Description: 上传支付凭证
*/
import React, { useState, useEffect } from 'react';
......@@ -163,8 +163,10 @@ const UploadPaymentVoucher: React.FC<IProps> = (props: IProps) => {
};
useEffect(() => {
getSettleAccountsGetMemberAccountConfig();
}, [purchaserId, purchaserRoleId]);
if (visible) {
getSettleAccountsGetMemberAccountConfig();
}
}, [visible, purchaserId, purchaserRoleId]);
const handleModalVisible = () => {
if (onClose) {
......
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