From cc1a76df575c18f0d0ee96e8658461efdce3a918 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 17 一月 2023 18:01:01 +0800 Subject: [PATCH] 2023-01-17 --- src/menu/tableshell/index.jsx | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/menu/tableshell/index.jsx b/src/menu/tableshell/index.jsx index 1f78877..defc741 100644 --- a/src/menu/tableshell/index.jsx +++ b/src/menu/tableshell/index.jsx @@ -122,8 +122,12 @@ } }) + let style = JSON.stringify(menu.style || {}) + style = style.replace(/@mywebsite@\//ig, window.GLOB.baseurl) + style = JSON.parse(style) + return ( - <div ref={drop} className="table-shell-inner" style={menu.style}> + <div ref={drop} className="table-shell-inner" style={style}> <div className="ant-row"> {cards.map(card => ( <Card -- Gitblit v1.8.0