From 72419e2f826031a158173f46d723a672064e37cd Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 31 八月 2021 22:42:51 +0800
Subject: [PATCH] 2021-08-31

---
 src/menu/components/share/usercomponent/index.jsx |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/src/menu/components/share/usercomponent/index.jsx b/src/menu/components/share/usercomponent/index.jsx
index 946ae0f..e10fa99 100644
--- a/src/menu/components/share/usercomponent/index.jsx
+++ b/src/menu/components/share/usercomponent/index.jsx
@@ -13,14 +13,13 @@
 import MKEmitter from '@/utils/events.js'
 import './index.scss'
 
-class DataSource extends Component {
+class UserComponent extends Component {
   static propTpyes = {
-    btnlog: PropTypes.array,
-    handlelog: PropTypes.func
+    btnlog: PropTypes.array
   }
 
   state = {
-    dict: localStorage.getItem('lang') !== 'en-US' ? zhCN : enUS,
+    dict: sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS,
     visible: false,
     loading: false,
     name: '',
@@ -164,6 +163,7 @@
                 func: 's_custom_components_adduptdel',
                 c_id: config.uuid,
                 images: Utils.getcloudurl(result.Images),
+                typename: sessionStorage.getItem('appType') || '',
                 c_name: res.name,
                 long_param: window.btoa(window.encodeURIComponent(JSON.stringify(template))),
                 del_type: ''
@@ -212,7 +212,6 @@
       <div className="user-component-wrap">
         <Icon type="user" title="鐢熸垚鑷畾涔夌粍浠�" onClick={this.trigger} />
         <Modal
-          wrapClassName="popview-modal"
           title="鑷畾涔夌粍浠�"
           visible={visible}
           width={500}
@@ -229,4 +228,4 @@
   }
 }
 
-export default DataSource
\ No newline at end of file
+export default UserComponent
\ No newline at end of file

--
Gitblit v1.8.0