doc: update doc

pull/4671/head
tangjinzhou 2021-09-12 00:09:21 +08:00
parent 21502ea6b0
commit e9010e1cc7
1 changed files with 2 additions and 2 deletions

View File

@ -143,8 +143,8 @@ export default defineComponent({
props.jsfiddle && props.jsfiddle.docHtml
? (
props.jsfiddle.docHtml
.replace('<h2 id="zh-cn">zh-CN</h2>', '')
.split('<h2 id="en-us">en-US</h2>')[globalConfig.isZhCN.value ? 0 : 1] || ''
.replace('<h2 id="zh-CN">zh-CN</h2>', '')
.split('<h2 id="en-US">en-US</h2>')[globalConfig.isZhCN.value ? 0 : 1] || ''
).trim()
: '',
);