From 59db6fab9c1ed1fa5559d423d439e14ea33b1598 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 27 四月 2023 11:18:24 +0800
Subject: [PATCH] Merge branch 'develop'

---
 src/templates/zshare/codemirror/index.jsx |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/templates/zshare/codemirror/index.jsx b/src/templates/zshare/codemirror/index.jsx
index 60376cc..729bb1a 100644
--- a/src/templates/zshare/codemirror/index.jsx
+++ b/src/templates/zshare/codemirror/index.jsx
@@ -167,6 +167,9 @@
         return
       }
 
+      let _href = window.location.href.split('#')[0]
+      localStorage.setItem(_href + 'sql_char', JSON.stringify([res.origin, res.value]))
+
       _sql = _sql.replace(reg, res.value)
 
       this.setState({display: false, defaultVal: _sql}, () => {

--
Gitblit v1.8.0