From c98e45bfac25e9110ad0383faac54a54d98ea9d5 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 18 十一月 2021 20:47:04 +0800
Subject: [PATCH] 2021-11-18

---
 src/components/editor/index.jsx |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/components/editor/index.jsx b/src/components/editor/index.jsx
index 3cfc203..dae66f6 100644
--- a/src/components/editor/index.jsx
+++ b/src/components/editor/index.jsx
@@ -48,7 +48,7 @@
       if (initVal) {
         try {
           initVal = window.decodeURIComponent(window.atob(initVal))
-        } catch {
+        } catch (e) {
           initVal = this.props['data-__meta'].initialValue || null
         }
       }
@@ -72,7 +72,7 @@
       if (encryption === 'true') {
         try {
           val = window.btoa(window.encodeURIComponent(val))
-        } catch {
+        } catch (e) {
           val = editorState.toHTML()
         }
       }
@@ -94,6 +94,7 @@
     form.append('shardingCnt', _param.chunks)
     form.append('shardingNo', _param.chunk)
     form.append('LoginUID', sessionStorage.getItem('LoginUID') || '')
+    form.append('UserID', sessionStorage.getItem('UserID') || '')
 
     Api.getLargeFileUpload(form).then(res => {
       if (res.status) {

--
Gitblit v1.8.0