diff --git a/src/pages/unitTable/renderColsOpts.tsx b/src/pages/unitTable/renderColsOpts.tsx index 1ab54e5..a0c8844 100644 --- a/src/pages/unitTable/renderColsOpts.tsx +++ b/src/pages/unitTable/renderColsOpts.tsx @@ -69,7 +69,7 @@ export function renderCols(initialState: any[], type: string, i18n?: AnyObject, width: 185, fixed: "right", render: (__: string, record: any) => { - const { billStatus, customOptAuth } = record; + const { billStatus, customOptAuth, qzOpts = [] } = record; const items: MenuProps["items"] = [ { key: "DeleteList", @@ -134,6 +134,7 @@ export function renderCols(initialState: any[], type: string, i18n?: AnyObject, ({ ...o, onClick: () => postMessageToParent(o.key, record) })), { key: "Log", label: i18n?.["操作日志"], @@ -517,4 +518,4 @@ export function renderCols(initialState: any[], type: string, i18n?: AnyObject, const postMessageToParent = (type: string, params: any) => { window.parent.postMessage({ type: "turn", payload: { id: type, params } }, "*"); -}; +}; \ No newline at end of file