Commit Graph

2179 Commits

Author SHA1 Message Date
2betop
90ce32c6a8 还原样式 2020-07-29 13:54:11 +08:00
2betop
5377d53890 修复 Page 嵌套引发的样式问题 2020-07-29 13:28:33 +08:00
2betop
f0328ea6ac 调整渲染方式 2020-07-28 17:08:14 +08:00
2betop
aa3cd30653 优化 remark 样式 2020-07-28 16:21:33 +08:00
2betop
bb86f93ece 优化 remark 样式 2020-07-28 16:14:08 +08:00
2betop
0f91820e4a 样式微调 2020-07-28 14:55:00 +08:00
2betop
4ef913b7aa 换种布局方式 2020-07-28 13:14:33 +08:00
2betop
db8007ca4b 位置api不定义协议 2020-07-28 11:43:34 +08:00
2betop
0747251fa1 回滚代码 2020-07-27 11:36:03 +08:00
2betop
5e397fc017 还原代码 2020-07-24 17:00:06 +08:00
2betop
8ff2d1629f 参数错了 2020-07-24 10:46:38 +08:00
2betop
e7cfa1f524 有可能 Service 套 Service, 深层次的 Service 也需要更新 form 2020-07-24 10:43:36 +08:00
liaoxuezhi
797f5110df Merge pull request #775 from DuLinRain/master
某些情况下渲染空页面而非crash
2020-07-24 09:27:52 +08:00
DuLinRain
4785edc452 Merge pull request #1 from DuLinRain/DuLinRain-patch-1
某些情况下渲染空页面而非crash
2020-07-24 02:24:37 +08:00
DuLinRain
08f7bf21d5 某些情况下渲染空页面而非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
afb8b75ad7 Merge pull request #772 from 2betop/master
form 下的 service 数据同步方式修改
2020-07-23 18:29:44 +08:00
2betop
f100aa8abc form 下的 service 数据同步方式修改 2020-07-23 17:36:21 +08:00
2betop
a0c0148ab0 还原,不能这样改 2020-07-23 15:20:31 +08:00
2betop
c8a56cb12d Merge remote-tracking branch 'baidu/master' 2020-07-23 13:38:29 +08:00
2betop
c6b1f2ae41 修复 form 底下的 service 重新拉取数据不同步的问你题 2020-07-23 13:38:04 +08:00
2betop
ed13dde3a5 Merge branch 'master' of https://github.com/2betop/amis 2020-07-23 09:33:02 +08:00
liaoxuezhi
43ae5c682c Merge branch 'master' of https://github.com/2betop/amis 2020-07-22 23:11:59 +08:00
liaoxuezhi
b84dc6986a 暴露 SearchBox 2020-07-22 23:11:41 +08:00
liaoxuezhi
0118dbb3fd Merge pull request #766 from RickCole21/master
iframe支持通信
2020-07-21 17:42:13 +08:00
rickcole
4d1a750d00 fix 2020-07-21 17:33:40 +08:00
rickcole
faf80abdcd change event name 2020-07-21 17:33:07 +08:00
rickcole
aa314e7509 优化一下iframe 2020-07-21 17:12:22 +08:00
rickcole
25e68de68e Merge remote-tracking branch 'amis/master' 2020-07-21 14:44:29 +08:00
2betop
443f0658f7 rebuild pages 2020-07-20 18:14:12 +08:00
2betop
edc3d5d1fa 更新 gh-pages 2020-07-20 18:12:43 +08:00
2betop
2edd8e55d2 Merge remote-tracking branch 'baidu/master' 2020-07-20 18:10:38 +08:00
2betop
e1db202d3e rebuild pages 2020-07-20 18:09:11 +08:00
2betop
8e18f46ff9 更新 gh-pages 2020-07-20 18:08:05 +08:00
2betop
47d2bc7bd1 本地&sdk&gh-pages改成min版本的 monaco-editor 2020-07-20 18:03:10 +08:00
rickcole
4a8be8beb8 fix 2020-07-20 16:15:53 +08:00
rickcole
d3df7b6219 iframe支持通信 2020-07-20 16:15:05 +08:00
liaoxuezhi
8153602b34 Merge pull request #762 from nwind/master
增加 JSON 渲染器的说明文档
2020-07-17 11:50:03 +08:00
wuduoyi
85642fcda2 增加 JSON 渲染器的说明文档 2020-07-17 11:47:05 +08:00
2betop
50aa27dba7 优化 dialog ajax 的处理,出错不应该关闭弹窗 2020-07-16 11:50:22 +08:00
2betop
5636d51712 updateEnv 逻辑错误 2020-07-16 11:00:56 +08:00
2betop
1a204c2ba8 优化下逻辑 2020-07-16 10:22:31 +08:00
liaoxuezhi
a8d35beb3e Merge branch 'master' of https://github.com/2betop/amis 2020-07-15 23:36:33 +08:00
liaoxuezhi
48bc1a430b 补充 amis env 修改的方法 2020-07-15 23:36:13 +08:00
2betop
984ea1d998 disabled 时不要可点 2020-07-15 20:15:38 +08:00
2betop
4d7cfc5b3f 拖拽的时候没有bg比较难看 2020-07-15 19:58:43 +08:00
2betop
f5618a2499 Merge remote-tracking branch 'baidu/master' 2020-07-15 19:06:14 +08:00
2betop
5a20944a58 prompt 里面form验证失败不要 alert 2020-07-15 19:05:45 +08:00
liaoxuezhi
f0c970f538 Merge pull request #757 from nwind/master
修复图片文档中的错误,补充 accept 配置项
2020-07-15 13:20:29 +08:00
wuduoyi
2d41a30cb4 修复图片文档中的错误,补充 accept 配置项 2020-07-15 13:17:06 +08:00
2betop
b013f1aee3 Merge remote-tracking branch 'baidu/master' 2020-07-15 09:47:31 +08:00