File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
src/sites/sites-react/doc/components/demoblock Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -65,14 +65,16 @@ createRoot(document.getElementById('container')).render(<Demo />);
6565 < div className = "demo-block" > { props . children } </ div >
6666
6767 < div className = "online-part" >
68- < a className = "list" target = "_blank" href = { onlineUrl } rel = "noreferrer" >
69- < img
70- alt = ""
71- className = "online-icon"
72- src = "https://img12.360buyimg.com/imagetools/jfs/t1/214225/34/8715/7002/61c31bf1E69324ee9/7a452063eba88be4.png"
73- />
74- < div className = "online-tips" > 在线调试</ div >
75- </ a >
68+ { ! props . text . includes ( '-taro' ) && (
69+ < a className = "list" target = "_blank" href = { onlineUrl } rel = "noreferrer" >
70+ < img
71+ alt = ""
72+ className = "online-icon"
73+ src = "https://img12.360buyimg.com/imagetools/jfs/t1/214225/34/8715/7002/61c31bf1E69324ee9/7a452063eba88be4.png"
74+ />
75+ < div className = "online-tips" > 在线调试</ div >
76+ </ a >
77+ ) }
7678 < div className = "list" onClick = { copyCode } >
7779 < img
7880 alt = ""
You can’t perform that action at this time.
0 commit comments