소스 검색

Merge branch 'master' of http://192.168.0.115:3000/4dkankan-docs/pro-docs

ZZMoore 2 년 전
부모
커밋
39aada2424
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      index.html

+ 1 - 1
index.html

@@ -35,7 +35,7 @@
                 search: {
                     maxAge: 86400000,
                     paths: '/',
-                    placeholder: '搜索',
+                    placeholder: window.location.href.indexOf('/zh-cn/')!=-1?'搜索':'Type to search',
                     noData: 'No Results',
                 },
                 markdown: {