@aks-dev/easyui 1.0.104 → 1.0.106
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.
package/i.sh
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
|
|
2
|
+
###
|
|
3
|
+
# @Author: shiguo
|
|
4
|
+
# @Date: 2022-09-26 17:09:38
|
|
5
|
+
# @LastEditors: shiguo
|
|
6
|
+
# @LastEditTime: 2022-09-26 17:26:37
|
|
7
|
+
# @FilePath: /@aks-dev/taro-h5/i.sh
|
|
8
|
+
###
|
|
9
|
+
|
|
10
|
+
#chmod u+x *.sh
|
|
11
|
+
git add .
|
|
12
|
+
git commit -m '脚本更新'
|
|
13
|
+
npm version patch
|
|
14
|
+
npm publish
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @Author: shiguo
|
|
3
3
|
* @Date: 2022-05-05 14:52:53
|
|
4
4
|
* @LastEditors: shiguo
|
|
5
|
-
* @LastEditTime: 2022-09-14 11:
|
|
5
|
+
* @LastEditTime: 2022-09-14 11:31:56
|
|
6
6
|
* @FilePath: /@aks-dev/easyui/lib/Echarts/EchartsView.tsx
|
|
7
7
|
*/
|
|
8
8
|
import * as React from 'react'
|
|
@@ -67,7 +67,7 @@ const EchartsView: React.FC<EchartsViewProps> = (props) => {
|
|
|
67
67
|
WebViewRef.current?.injectJavaScript(run);
|
|
68
68
|
|
|
69
69
|
return () => {
|
|
70
|
-
console.log('useEffect relase')
|
|
70
|
+
// console.log('useEffect relase')
|
|
71
71
|
const run = `
|
|
72
72
|
;(function() {
|
|
73
73
|
var instance = echarts.getInstanceByDom(document.getElementById('main'));
|
|
@@ -78,7 +78,10 @@ export default React.forwardRef<AlertSheetViewOptions.RefAttributes, {}>((_, ref
|
|
|
78
78
|
key={`sg-action-${idx}`}
|
|
79
79
|
style={[styles.item]}
|
|
80
80
|
activeOpacity={1}
|
|
81
|
-
onPress={() =>
|
|
81
|
+
onPress={() => {
|
|
82
|
+
hide()
|
|
83
|
+
i.onClick && i.onClick()
|
|
84
|
+
}}>
|
|
82
85
|
<Text style={[styles.itemText,{color:i.color}]} numberOfLines={2}>{i.text}</Text>
|
|
83
86
|
</TouchableOpacity>
|
|
84
87
|
)}
|
|
@@ -165,7 +168,7 @@ const styles = StyleSheet.create({
|
|
|
165
168
|
alignItems: 'center',
|
|
166
169
|
|
|
167
170
|
backgroundColor: 'white',
|
|
168
|
-
marginTop: px2dp(0.
|
|
171
|
+
marginTop: px2dp(0.75)
|
|
169
172
|
},
|
|
170
173
|
itemText: {
|
|
171
174
|
fontSize: px2sp(12),
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aks-dev/easyui",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.0.106",
|
|
4
|
+
"description": "工具箱",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"typings": "./src/index.d.ts",
|
|
7
7
|
"scripts": {
|
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
"/**/*.png",
|
|
26
26
|
"/**/*.bundle",
|
|
27
27
|
"!/tsconfig.json",
|
|
28
|
-
"!/tsconfig.md"
|
|
28
|
+
"!/tsconfig.md",
|
|
29
|
+
"/i.sh"
|
|
29
30
|
],
|
|
30
31
|
"homepage": "https://gitee.com/the_period_of_the_ten_kingdoms",
|
|
31
32
|
"repository": {
|