|
@@ -214,6 +214,12 @@ const PSRDetail = () => {
|
|
|
};
|
|
|
const renderSheet = (currentData, is_edit = false) => {
|
|
|
console.log('==================', luckysheetRef.current);
|
|
|
+ if (!luckysheetRef.current) {
|
|
|
+ setTimeout(() => {
|
|
|
+ renderSheet(currentData, is_edit);
|
|
|
+ }, 500);
|
|
|
+ return;
|
|
|
+ }
|
|
|
const data = currentData;
|
|
|
//设置单元格不可编辑
|
|
|
data?.forEach((item) => {
|