Commit 6d905b7c authored by XieZhiXiong's avatar XieZhiXiong

chore: editable由外部传入

parent 73ca3cbd
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: XieZhiXiong * @Author: XieZhiXiong
* @Date: 2021-08-04 11:33:33 * @Date: 2021-08-04 11:33:33
* @LastEditors: XieZhiXiong * @LastEditors: XieZhiXiong
* @LastEditTime: 2021-08-16 14:52:30 * @LastEditTime: 2021-08-16 15:06:14
* @Description: 单据表单组件,提供基础的表单内容,单据明细相关由外部传入控制 * @Description: 单据表单组件,提供基础的表单内容,单据明细相关由外部传入控制
*/ */
import React, { useEffect, useState } from 'react'; import React, { useEffect, useState } from 'react';
...@@ -158,7 +158,7 @@ const BillsFormPage: React.FC<IProps> = (props: IProps) => { ...@@ -158,7 +158,7 @@ const BillsFormPage: React.FC<IProps> = (props: IProps) => {
}} }}
effects={($, actions) => { effects={($, actions) => {
createEffects($, actions); createEffects($, actions, !!editable);
customEffects?.($, actions); customEffects?.($, actions);
}} }}
......
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