@aks-dev/easyui 1.0.144 → 1.0.146

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@
2
2
  * @Author: shiguo
3
3
  * @Date: 2022-05-05 14:52:53
4
4
  * @LastEditors: shiguo
5
- * @LastEditTime: 2022-12-30 09:36:45
5
+ * @LastEditTime: 2023-01-03 17:22:12
6
6
  * @FilePath: /@aks-dev/easyui/lib/Echarts/EchartsView.tsx
7
7
  */
8
8
  import * as React from 'react'
@@ -146,7 +146,10 @@ const EchartsView: React.FC<EchartsViewProps> = (props) => {
146
146
  if (props.renderLoading) return props.renderLoading()
147
147
  return <View style={{ backgroundColor: (props.style as ViewStyle)?.backgroundColor || 'transparent' }} />
148
148
  }} // 设置空View,修复ioswebview闪白
149
- style={{ backgroundColor: (props.style as ViewStyle)?.backgroundColor || 'transparent' }} // 设置背景色透明,修复android闪白
149
+ style={{
150
+ backgroundColor: (props.style as ViewStyle)?.backgroundColor || 'transparent',
151
+ opacity: 0.99,//解决删除的办法
152
+ }} // 设置背景色透明,修复android闪白
150
153
  scrollEnabled={false}
151
154
  // onMessage={e=>{
152
155
  // console.log(e)
@@ -2,7 +2,7 @@
2
2
  * @Author: shiguo
3
3
  * @Date: 2022-05-05 15:56:21
4
4
  * @LastEditors: shiguo
5
- * @LastEditTime: 2022-06-27 18:01:39
5
+ * @LastEditTime: 2023-01-03 17:02:57
6
6
  * @FilePath: /@aks-dev/easyui/lib/Echarts/helper.tsx
7
7
  */
8
8
 
@@ -34,7 +34,7 @@ export const getHtml = (props: { backgroundColor: any }) => {
34
34
  }
35
35
 
36
36
  </style>
37
- <script type="text/javascript" src="https://res.actiiot.com/echarts/5.0.2/echarts.min.js"></script>
37
+ <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/echarts/5.4.1/echarts.min.js"></script>
38
38
  </head>
39
39
 
40
40
  <body style="background-color:${props.backgroundColor}">
@@ -44,6 +44,12 @@ export const getHtml = (props: { backgroundColor: any }) => {
44
44
  </html>
45
45
  `
46
46
  }
47
+
48
+ /**
49
+ * https://res.actiiot.com/echarts/5.0.2/echarts.min.js
50
+ *
51
+ * https://cdnjs.cloudflare.com/ajax/libs/echarts/5.4.1/echarts.min.js
52
+ */
47
53
 
48
54
  export const toString = (obj: object) => {
49
55
  let result = JSON.stringify(obj, function (key, val) {
@@ -2,7 +2,7 @@
2
2
  * @Author: shiguo
3
3
  * @Date: 2022-07-14 18:09:02
4
4
  * @LastEditors: shiguo
5
- * @LastEditTime: 2022-12-26 18:01:52
5
+ * @LastEditTime: 2023-01-03 17:01:36
6
6
  * @FilePath: /@aks-dev/easyui/lib/MenuView/index.ts
7
7
  */
8
8
 
@@ -24,6 +24,7 @@ export type MenuProps = {
24
24
  data?: MenuItem[];
25
25
  onItemClick?: (index: number, extra?: any) => void;
26
26
  onContainerClick?:Function;
27
+ activeOpacity:number;
27
28
  } & Readonly<{ children?: React.ReactNode | undefined }> & TouchableOpacityProps
28
29
 
29
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aks-dev/easyui",
3
- "version": "1.0.144",
3
+ "version": "1.0.146",
4
4
  "description": "工具箱",
5
5
  "main": "./src/index.ts",
6
6
  "typings": "./src/index.d.ts",