From da74c90d617629c5be79e7af3e6d6862f3afd2e6 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 30 一月 2023 18:56:29 +0800 Subject: [PATCH] 2023-01-30 --- src/tabviews/custom/index.jsx | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/tabviews/custom/index.jsx b/src/tabviews/custom/index.jsx index 39687e8..2a9ad66 100644 --- a/src/tabviews/custom/index.jsx +++ b/src/tabviews/custom/index.jsx @@ -241,6 +241,15 @@ config, mainSearch }, () => { + if (config.normalcss) { + let node = document.getElementById(config.uuid) + node && node.remove() + + let ele = document.createElement('style') + ele.id = config.uuid + ele.innerHTML = config.normalcss + document.getElementsByTagName('head')[0].appendChild(ele) + } if (params.length === 0) { setTimeout(() => { // 寤舵椂鍔犺浇鐘舵�� this.setState({ -- Gitblit v1.8.0