Skip to content

Commit b7a6a20

Browse files
authored
docs: jmapp 不判断环境,直接打开 (#3193)
1 parent 8ddee7c commit b7a6a20

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/sites/mobile/main.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ try {
1313
} catch (e) {}
1414
let href = ''
1515

16-
if (!isMobile && pathname.includes('demo')) {
16+
if (!isMobile && pathname.includes('demo') && !pathname.includes('jmapp')) {
1717
href = location.href.replace('demo.html', '')
1818
window.location.href = href
1919
}

src/sites/sites-react/doc/docs/react/official-theme-react.en-US.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ NutUI provides multiple sets of official `UI` themes by default, while allowing
99
| theme description | scss file name |
1010
| --- | --- |
1111
| Jingdong APP 10.0 theme (default) | `variables.scss` |
12-
| Jingdong JMAPP Theme | `variables-jmapp.scss ` |
12+
| Jingdong JMAPP Theme([Preview](https://nutui.jd.com/h5/react/jmapp-3x/demo.html#/zh-CN/component/Button)) | `variables-jmapp.scss ` |
1313

1414
## How to use
1515

src/sites/sites-react/doc/docs/react/official-theme-react.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ NutUI 默认提供多套官方`UI`主题,同时允许在一定程度上定制
99
| 主题说明 | scss 文件名称 |
1010
| --- | --- |
1111
| 京东 APP 主题(默认) | `variables.scss` |
12-
| 京东 JMAPP 主题 ([预览](https://nutui.jd.com/h5/react/jmapp-3x/#/zh-CN/component/button)) | `variables-jmapp.scss` |
12+
| 京东 JMAPP 主题 ([预览](https://nutui.jd.com/h5/react/jmapp-3x/demo.html#/zh-CN/component/Button)) | `variables-jmapp.scss` |
1313
| 京东 JRKF 主题 | `variables-jrkf.scss` |
1414

1515
## 使用方式

0 commit comments

Comments
 (0)