From ec673f8f4e9338e08cb1705496e10ba81f0b4ebd Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 19 二月 2025 20:08:12 +0800
Subject: [PATCH] 2025-02-19

---
 src/menu/datasource/index.jsx                                 |    2 +-
 src/tabviews/custom/components/editor/braft-editor/index.scss |   16 +++++++++++++---
 2 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/src/menu/datasource/index.jsx b/src/menu/datasource/index.jsx
index dd54aa7..c86661c 100644
--- a/src/menu/datasource/index.jsx
+++ b/src/menu/datasource/index.jsx
@@ -389,7 +389,7 @@
           width={'75vw'}
           maskClosable={false}
           okText="鎻愪氦"
-          onCancel={() => {this.setState({ visible: false, loading: false }) }}
+          onCancel={this.cancel}
           footer={[
             config.subtype !== 'dualdatacard' && record.interType === 'inner' ? <CreateFunc key="create" getMsg={this.creatFunc}/> : null,
             <Button key="cancel" onClick={this.cancel}>鍙栨秷</Button>,
diff --git a/src/tabviews/custom/components/editor/braft-editor/index.scss b/src/tabviews/custom/components/editor/braft-editor/index.scss
index e81c223..fcbf6a0 100644
--- a/src/tabviews/custom/components/editor/braft-editor/index.scss
+++ b/src/tabviews/custom/components/editor/braft-editor/index.scss
@@ -26,6 +26,16 @@
       background: #ffffff;
     }
   }
+  .braft-content table.no-border {
+    td, th {
+      border: none;
+    }
+  }
+  .braft-content table.align-center {
+    td, th {
+      text-align: center;
+    }
+  }
 }
 
 .custom-braft-editor-box.th-light {
@@ -39,7 +49,7 @@
 }
 .custom-braft-editor-box.no-border {
   .braft-content {
-    table {
+    table:not(.border) {
       td, th {
         border: none!important;
       }
@@ -51,7 +61,7 @@
 }
 .custom-braft-editor-box.bold-border {
   .braft-content {
-    table {
+    table:not(.no-border) {
       td, th {
         border-width: 2px!important;
       }
@@ -60,7 +70,7 @@
 }
 .custom-braft-editor-box.deep-border {
   .braft-content {
-    table {
+    table:not(.no-border) {
       td, th {
         border-color: rgba(0, 0, 0, 0.85)!important;
       }

--
Gitblit v1.8.0