|
@@ -637,6 +637,9 @@ const PSRDetail = () => {
|
|
|
luckysheetRef.current.refreshFormula();
|
|
|
},
|
|
|
workbookCreateAfter: async () => {
|
|
|
+ setTimeout(() => {
|
|
|
+ luckysheetRef.current.refreshFormula();
|
|
|
+ }, 800);
|
|
|
//当前为为终版psr标签并且可编辑状态时填充人日数据
|
|
|
if (key == '3' && is_edit) {
|
|
|
fillWorkLoadData();
|
|
@@ -668,7 +671,6 @@ const PSRDetail = () => {
|
|
|
|
|
|
luckysheetRef.current.destroy();
|
|
|
luckysheetRef.current.create(option);
|
|
|
- luckysheetRef.current.refreshFormula();
|
|
|
};
|
|
|
|
|
|
const fillWorkLoadData = async () => {
|
|
@@ -767,7 +769,7 @@ const PSRDetail = () => {
|
|
|
}}
|
|
|
disabled={noData}
|
|
|
>
|
|
|
- {`${data_type == 2 ? '' : name}历史版本`}
|
|
|
+ 历史版本
|
|
|
</Button>
|
|
|
<Button
|
|
|
type="primary"
|