Commit Graph

2175 Commits

Author SHA1 Message Date
rickcole
2080928eda Merge remote-tracking branch 'amis/master' into new 2020-07-24 17:20:31 +08:00
rickcole
2bcf987201 文档样式没问题了, 2020-07-24 17:20:08 +08:00
2betop
b042b62012 还原代码 2020-07-24 17:00:06 +08:00
2betop
423ee53a09 参数错了 2020-07-24 10:46:38 +08:00
2betop
4b363882c6 有可能 Service 套 Service, 深层次的 Service 也需要更新 form 2020-07-24 10:43:36 +08:00
liaoxuezhi
1c53631f32
Merge pull request #775 from DuLinRain/master
某些情况下渲染空页面而非crash
2020-07-24 09:27:52 +08:00
DuLinRain
cbb2945c52
Merge pull request #1 from DuLinRain/DuLinRain-patch-1
某些情况下渲染空页面而非crash
2020-07-24 02:24:37 +08:00
DuLinRain
b3ab62b818
某些情况下渲染空页面而非crash
在以下以及更多类似情况下会导致页面crash:

哪些情况会导致渲染崩掉?
一
render(
    {
        ...
        hidden: 'no falsy'
    },
    props,
    env,
    pathPrefix?
)

render(
    {
        ...
        visible:  false
    },
    props,
    env,
    pathPrefix?
)

二

render(
    schema,
    {
        ...
        hidden: 'no falsy'
    },
    env,
    pathPrefix?
)

render(
    schema,
    {
        ...
        visible:  false
    },
    env,
    pathPrefix?
)

三

render(
    schema,
    {
        data: {
            ...
            visible:  false
        }
    },
    env,
    pathPrefix?
)

render(
    schema,
    {
        data: {
            ...
            hidden: 'no falsy'
        }
    },
    env,
    pathPrefix?
)


四

render(
    {
        ...
        hiddenOn: '1'
    },
    props,
    env,
    pathPrefix?
)

render(
    {
        ...
        visibleOn: '0'
    },
    props,
    env,
    pathPrefix?
)


render(
    {
        ...
        "hiddenExpr": "no falsy string",
    },
    props,
    env,
    pathPrefix?
)
2020-07-24 02:21:54 +08:00
rickcole
03e8a88385 先提交一下 2020-07-23 20:31:51 +08:00
rickcole
e85e6b20b1 Merge remote-tracking branch 'amis/master' into new 2020-07-23 20:31:15 +08:00
RickCole
ece514f86b
Merge pull request #772 from 2betop/master
form 下的 service 数据同步方式修改
2020-07-23 18:29:44 +08:00
2betop
39772ab6e7 form 下的 service 数据同步方式修改 2020-07-23 17:36:21 +08:00
2betop
bba949bba8 还原,不能这样改 2020-07-23 15:20:31 +08:00
2betop
69e305ff9a Merge remote-tracking branch 'baidu/master' 2020-07-23 13:38:29 +08:00
2betop
c76c3fe703 修复 form 底下的 service 重新拉取数据不同步的问你题 2020-07-23 13:38:04 +08:00
2betop
e8aad9919d Merge branch 'master' of https://github.com/2betop/amis 2020-07-23 09:33:02 +08:00
liaoxuezhi
9f4921fb5c Merge branch 'master' of https://github.com/2betop/amis 2020-07-22 23:11:59 +08:00
liaoxuezhi
3c47f8f76f 暴露 SearchBox 2020-07-22 23:11:41 +08:00
rickcole
b273744999 temp 2020-07-22 14:33:06 +08:00
liaoxuezhi
8fe229ff7d
Merge pull request #766 from RickCole21/master
iframe支持通信
2020-07-21 17:42:13 +08:00
rickcole
5f3cfc3362 fix 2020-07-21 17:33:40 +08:00
rickcole
659ab3d9c7 change event name 2020-07-21 17:33:07 +08:00
rickcole
4ccce197d1 优化一下iframe 2020-07-21 17:12:22 +08:00
rickcole
6a3faceeb9 Merge remote-tracking branch 'amis/master' 2020-07-21 14:44:29 +08:00
2betop
176d97b5c8 rebuild pages 2020-07-20 18:14:12 +08:00
2betop
af178fd9aa 更新 gh-pages 2020-07-20 18:12:43 +08:00
2betop
0d98a3bed9 Merge remote-tracking branch 'baidu/master' 2020-07-20 18:10:38 +08:00
2betop
d5d2474175 rebuild pages 2020-07-20 18:09:11 +08:00
2betop
dbd46e4e8d 更新 gh-pages 2020-07-20 18:08:05 +08:00
2betop
205d8ea8bc 本地&sdk&gh-pages改成min版本的 monaco-editor 2020-07-20 18:03:10 +08:00
rickcole
bfdd2d7bde fix 2020-07-20 16:15:53 +08:00
rickcole
0694418df7 iframe支持通信 2020-07-20 16:15:05 +08:00
liaoxuezhi
b3948f3ee7
Merge pull request #762 from nwind/master
增加 JSON 渲染器的说明文档
2020-07-17 11:50:03 +08:00
wuduoyi
a93603b49f 增加 JSON 渲染器的说明文档 2020-07-17 11:47:05 +08:00
2betop
2cde671d8f 优化 dialog ajax 的处理,出错不应该关闭弹窗 2020-07-16 11:50:22 +08:00
2betop
f8a47b2506 updateEnv 逻辑错误 2020-07-16 11:00:56 +08:00
2betop
ede1173159 优化下逻辑 2020-07-16 10:22:31 +08:00
liaoxuezhi
575baf1586 Merge branch 'master' of https://github.com/2betop/amis 2020-07-15 23:36:33 +08:00
liaoxuezhi
bf56ccac27 补充 amis env 修改的方法 2020-07-15 23:36:13 +08:00
2betop
c829616be7 disabled 时不要可点 2020-07-15 20:15:38 +08:00
2betop
1a5239d84f 拖拽的时候没有bg比较难看 2020-07-15 19:58:43 +08:00
2betop
f8149af18c Merge remote-tracking branch 'baidu/master' 2020-07-15 19:06:14 +08:00
2betop
41a1bfcedc prompt 里面form验证失败不要 alert 2020-07-15 19:05:45 +08:00
liaoxuezhi
fa3d08278e
Merge pull request #757 from nwind/master
修复图片文档中的错误,补充 accept 配置项
2020-07-15 13:20:29 +08:00
wuduoyi
2fcba6fd29 修复图片文档中的错误,补充 accept 配置项 2020-07-15 13:17:06 +08:00
2betop
07359e5dca Merge remote-tracking branch 'baidu/master' 2020-07-15 09:47:31 +08:00
2betop
aecec9c01d 删除没用的 dom 2020-07-15 09:46:58 +08:00
liaoxuezhi
926e3d3423 ChainedCheckboxes 支持选项级别的 placeholder 2020-07-15 00:20:55 +08:00
吴多益
fdeb691b3a
修改编辑器的链接为 github 地址 2020-07-14 20:13:04 +08:00
2betop
0f08fda189 优化 Tag 输入的 disabled 状态 2020-07-14 11:11:27 +08:00