src/mob/components/navbar/normal-navbar/index.jsx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/mobdesign/index.jsx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/pcdesign/index.jsx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/mob/components/navbar/normal-navbar/index.jsx
@@ -120,6 +120,8 @@ render() { const { card } = this.state if (!card.wrap) return null let _style = {...card.style} _style.height = card.wrap.height src/views/mobdesign/index.jsx
@@ -1669,7 +1669,7 @@ let _config = fromJS(config).toJS() let NavBar = null _config.components = _config.components.map(item => { if (item.type === 'navbar') { if (item.type === 'navbar' && item.wrap) { NavBar = fromJS(item).toJS() return { type: 'navbar', @@ -1914,7 +1914,7 @@ } else if (item.type === 'group') { check(item.components, level, sign) return } else if (item.type === 'navbar' && !item.wrap.MenuNo) { } else if (item.type === 'navbar' && item.wrap && !item.wrap.MenuNo) { error = `导航栏《${item.name}》未设置菜单参数!` } else if (item.type === 'topbar') { if (item.wrap.type === 'search' || item.wrap.type === 'searchIcon' || (item.wrap.type === 'navbar' && item.wrap.search === 'true')) { src/views/pcdesign/index.jsx
@@ -1354,7 +1354,7 @@ let _config = fromJS(config).toJS() let NavBar = null _config.components = _config.components.map(item => { if (item.type === 'navbar') { if (item.type === 'navbar' && item.wrap) { NavBar = fromJS(item).toJS() return { type: 'navbar',