From f9ed8e144667142a7ecbcf4a65bf1c6c65d09b7f Mon Sep 17 00:00:00 2001 From: jingcheng1988 Date: Tue, 14 Jun 2022 16:02:33 +0800 Subject: [PATCH 1/7] =?UTF-8?q?=E6=89=AB=E7=A0=81=E9=A2=84=E8=A7=88?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../GaiaXiOSDemo/Preview/GaiaXPreviewViewController.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/GaiaXiOSDemo/GaiaXiOSDemo/Preview/GaiaXPreviewViewController.m b/GaiaXiOSDemo/GaiaXiOSDemo/Preview/GaiaXPreviewViewController.m index a81a9d603..c28bb6371 100644 --- a/GaiaXiOSDemo/GaiaXiOSDemo/Preview/GaiaXPreviewViewController.m +++ b/GaiaXiOSDemo/GaiaXiOSDemo/Preview/GaiaXPreviewViewController.m @@ -315,7 +315,7 @@ - (void)handleTemlateInfo:(NSDictionary *)templateInfo{ //容器模板 NSMutableArray *nodes = [NSMutableArray array]; for (int i = 0; i < 10; i++) { - [nodes addObject:@{@"data":@"mock"}]; + [nodes addObject:@{@"data":@"'mock'"}]; } [dbDict gx_setObject:@{@"value":nodes} forKey:templateId]; @@ -323,7 +323,7 @@ - (void)handleTemlateInfo:(NSDictionary *)templateInfo{ //普通模板 NSDictionary *dependencies = [[indexJsonDict gx_dictionaryForKey:@"package"] gx_dictionaryForKey:@"dependencies"]; [dependencies enumerateKeysAndObjectsUsingBlock:^(id _Nonnull key, id _Nonnull obj, BOOL * _Nonnull stop) { - [dbDict gx_setObject:@{@"data":@"mock"} forKey:key]; + [dbDict gx_setObject:@{@"data":@"'mock'"} forKey:key]; }]; } @@ -333,7 +333,7 @@ - (void)handleTemlateInfo:(NSDictionary *)templateInfo{ //获取数据源 if (isRoot) { - _mockData = @{@"data":@"mock"}; + _mockData = @{@"data":@"'mock'"}; } } From 5687d9e7d8962022c10b684679762ed65322062d Mon Sep 17 00:00:00 2001 From: biezhihua Date: Tue, 14 Jun 2022 16:03:47 +0800 Subject: [PATCH 2/7] Update ----.md --- .github/ISSUE_TEMPLATE/----.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/----.md b/.github/ISSUE_TEMPLATE/----.md index 0b75a94ed..f2deff35f 100644 --- a/.github/ISSUE_TEMPLATE/----.md +++ b/.github/ISSUE_TEMPLATE/----.md @@ -33,5 +33,8 @@ assignees: '' - GaiaX SDK版本 [e.g. 0.1.0] - GaiaX 模板文件和模板数据 +**崩溃日志** +在这里添加崩溃日志 + **附加信息** 在这里添加有关该问题的任何其他信息。 From 921bd6c0c37411e23cddb8a8a28a9e1257f673bc Mon Sep 17 00:00:00 2001 From: biezhihua Date: Tue, 14 Jun 2022 16:20:42 +0800 Subject: [PATCH 3/7] Update ----.md --- .github/ISSUE_TEMPLATE/----.md | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/ISSUE_TEMPLATE/----.md b/.github/ISSUE_TEMPLATE/----.md index f2deff35f..78969ec92 100644 --- a/.github/ISSUE_TEMPLATE/----.md +++ b/.github/ISSUE_TEMPLATE/----.md @@ -31,6 +31,7 @@ assignees: '' - 设备: [e.g. iPhone6] - 系统: [e.g. iOS8.1] - GaiaX SDK版本 [e.g. 0.1.0] + - Gaia Studio版本 [e.g. 0.1.0] - GaiaX 模板文件和模板数据 **崩溃日志** From 826e42e14bdeee6be6ea12a7d71cc8b693c32621 Mon Sep 17 00:00:00 2001 From: biezhihua Date: Tue, 14 Jun 2022 19:02:06 +0800 Subject: [PATCH 4/7] fix: double --- .../java/com/alibaba/gaiax/adapter/GXExtensionExpression.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/GaiaXAdapterAndroid/src/main/java/com/alibaba/gaiax/adapter/GXExtensionExpression.kt b/GaiaXAdapterAndroid/src/main/java/com/alibaba/gaiax/adapter/GXExtensionExpression.kt index 0d9e73fa1..3207039ea 100644 --- a/GaiaXAdapterAndroid/src/main/java/com/alibaba/gaiax/adapter/GXExtensionExpression.kt +++ b/GaiaXAdapterAndroid/src/main/java/com/alibaba/gaiax/adapter/GXExtensionExpression.kt @@ -83,6 +83,9 @@ class GXExtensionExpression : GXRegisterCenter.GXIExtensionExpression { is Float -> { return GXAnalyze.createValueFloat64(value) } + is Double -> { + return GXAnalyze.createValueFloat64(value.toFloat()) + } null -> { return GXAnalyze.createValueNull() } From d4536f50443507c7ff7adc2d5767eff6d721dacc Mon Sep 17 00:00:00 2001 From: biezhihua Date: Tue, 14 Jun 2022 19:18:14 +0800 Subject: [PATCH 5/7] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0a7b87d58..925caa144 100644 --- a/README.md +++ b/README.md @@ -207,7 +207,7 @@ We very welcome your to contribute code for the project. In you before writing a ## Contact us DingTalk: - + WeChat: From ed47a2ad32c8516a11ebc848c4d02fcbdf0a6323 Mon Sep 17 00:00:00 2001 From: biezhihua Date: Tue, 14 Jun 2022 19:20:27 +0800 Subject: [PATCH 6/7] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 925caa144..c338d8efe 100644 --- a/README.md +++ b/README.md @@ -207,10 +207,12 @@ We very welcome your to contribute code for the project. In you before writing a ## Contact us DingTalk: + WeChat: - + + Email: biezhihua@gmail.com From 4e28724981677c4ca002cbd6cf604d1ee371a513 Mon Sep 17 00:00:00 2001 From: biezhihua Date: Tue, 14 Jun 2022 19:22:21 +0800 Subject: [PATCH 7/7] Update README-ZH.md --- README-ZH.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README-ZH.md b/README-ZH.md index ec91e026e..35b615691 100644 --- a/README-ZH.md +++ b/README-ZH.md @@ -206,10 +206,16 @@ UIView *view = [TheGXTemplateEngine creatViewByTemplateItem:item measureSize:siz ## 联系我们 钉钉: - + + 微信: - + + + +Email: + +biezhihua@gmail.com ## 支持者