@aks-dev/easyui 1.0.62 → 1.0.64
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/README.md +2 -1
- package/android/build.gradle +4 -0
- package/lib/Echarts/helper.tsx +6 -4
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @Author: shiguo
|
|
3
3
|
* @Date: 2022-04-25 17:57:29
|
|
4
4
|
* @LastEditors: shiguo
|
|
5
|
-
* @LastEditTime: 2022-06-14 13:
|
|
5
|
+
* @LastEditTime: 2022-06-14 13:56:32
|
|
6
6
|
* @FilePath: /@aks-dev/easyui/README.md
|
|
7
7
|
-->
|
|
8
8
|
|
|
@@ -15,6 +15,7 @@ or
|
|
|
15
15
|
`$ yarn add @aks-dev/easyui`
|
|
16
16
|
|
|
17
17
|
### screen
|
|
18
|
+
---
|
|
18
19
|
+ 禁止文本随系统缩放
|
|
19
20
|
```
|
|
20
21
|
import '@aks-dev/easyui/screen/text-fit'
|
package/android/build.gradle
CHANGED
|
@@ -4,6 +4,10 @@ buildscript {
|
|
|
4
4
|
repositories {
|
|
5
5
|
mavenCentral()
|
|
6
6
|
google()
|
|
7
|
+
///https://blog.csdn.net/xiaopihair123/article/details/119422895
|
|
8
|
+
maven{ url 'https://maven.aliyun.com/repository/google'}
|
|
9
|
+
maven{ url 'https://maven.aliyun.com/repository/gradle-plugin'}
|
|
10
|
+
maven{ url 'https://maven.aliyun.com/repository/public'}
|
|
7
11
|
}
|
|
8
12
|
|
|
9
13
|
dependencies {
|
package/lib/Echarts/helper.tsx
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @Author: shiguo
|
|
3
3
|
* @Date: 2022-05-05 15:56:21
|
|
4
4
|
* @LastEditors: shiguo
|
|
5
|
-
* @LastEditTime: 2022-
|
|
6
|
-
* @FilePath: /@aks/easyui/lib/Echarts/helper.tsx
|
|
5
|
+
* @LastEditTime: 2022-06-27 18:01:39
|
|
6
|
+
* @FilePath: /@aks-dev/easyui/lib/Echarts/helper.tsx
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
|
|
@@ -55,9 +55,11 @@ export const getHtml = (props: { backgroundColor: any }) => {
|
|
|
55
55
|
});
|
|
56
56
|
// 再进行还原
|
|
57
57
|
do {
|
|
58
|
-
result = result.replace('\"~ha~', '').replace('~ha~\"', '').replace(
|
|
58
|
+
result = result.replace('\"~ha~', '').replace('~ha~\"', '').replace(/\\\"/g, "\"");//最后一个replace将release模式中莫名生成的\"转换成"
|
|
59
59
|
} while (result.indexOf('~ha~') >= 0);
|
|
60
60
|
|
|
61
61
|
return result;
|
|
62
62
|
}
|
|
63
|
-
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
///.replace(/\\n/g, '')
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aks-dev/easyui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.64",
|
|
4
4
|
"description": "移动端App开发工具包",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"typings": "./src/index.d.ts",
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
"!/tsconfig.json",
|
|
29
29
|
"!/tsconfig.md"
|
|
30
30
|
],
|
|
31
|
-
"homepage": "https://gitee.com/the_period_of_the_ten_kingdoms
|
|
31
|
+
"homepage": "https://gitee.com/the_period_of_the_ten_kingdoms",
|
|
32
32
|
"repository": {
|
|
33
33
|
"type": "git",
|
|
34
|
-
"url": "https://gitee.com/the_period_of_the_ten_kingdoms/
|
|
34
|
+
"url": "https://gitee.com/the_period_of_the_ten_kingdoms/easyui"
|
|
35
35
|
},
|
|
36
36
|
"author": "shiguo",
|
|
37
37
|
"license": "MIT",
|
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
"echarts": "^5.3.2",
|
|
46
46
|
"react-native-image-zoom-viewer": "^3.0.1",
|
|
47
47
|
"react-native-modal": "^13.0.1",
|
|
48
|
+
"react-native-smart-refresh": "^1.1.6",
|
|
48
49
|
"react-native-swipe-list-view": "^3.2.9"
|
|
49
50
|
},
|
|
50
51
|
"devDependencies": {
|