Skip to content

Commit

Permalink
v2.9.9
Browse files Browse the repository at this point in the history
  • Loading branch information
star7th committed Aug 23, 2021
1 parent 36e589c commit dcd20e2
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 25 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "ShowDoc is a tool greatly applicable for an IT team to share documents online",
"keywords": ["showdoc","documents","Api"],
"homepage": "https://github.com/star7th/showdoc",
"version":"v2.9.8",
"version":"v2.9.9",
"license": "Apache-2.0",
"authors": [
{
Expand Down
33 changes: 16 additions & 17 deletions web/index.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=renderer content=webkit><meta http-equiv=X-UA-Compatible content=edge><title>ShowDoc</title><meta name=keywords content=""><meta name=description content=本网站基于开源版showdoc搭建,仅供私人使用。如需访问showdoc官网,请在搜索引擎里搜索showdoc字样或者直接访问showdoc.com.cn><script type=text/javascript>var Wwidth = window.innerWidth ;
window.addEventListener('resize', function() {
///宽度变化大于50像素的时候刷新整个窗口以适应新宽度
if ( Math.abs(Wwidth - window.innerWidth) > 50 ) {
//如果不在编辑页面,则在窗口变化后刷新窗口以适应宽度
if(window.location.href.indexOf("/edit") === -1){
window.location.reload();
}
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=renderer content=webkit><meta http-equiv=X-UA-Compatible content=edge><meta http-equiv=Expires content=0><meta http-equiv=Pragma content=no-cache><meta http-equiv=Cache-control content="no-cache, no-store, must-revalidate"><meta http-equiv=Cache content=no-cache><title>ShowDoc</title><meta name=keywords content=""><meta name=description content=本网站基于开源版showdoc搭建,仅供私人使用。如需访问showdoc官网,请在搜索引擎里搜索showdoc字样或者直接访问showdoc.com.cn><script type=text/javascript>var Wwidth = window.innerWidth
window.addEventListener('resize', function() {
/// 宽度变化大于50像素的时候刷新整个窗口以适应新宽度
if (Math.abs(Wwidth - window.innerWidth) > 50) {
// 如果不在编辑页面,则在窗口变化后刷新窗口以适应宽度
if (window.location.href.indexOf('/edit') === -1) {
window.location.reload()
}
};
})

});

//挂在window下的全局配置
window.DocConfig = {
//"server":'http://127.0.0.1/showdoc/server/index.php?s=',
"server": window.location.protocol +'//'+ window.location.host + window.location.pathname+ '../server/index.php?s=',
//"lang" :'en'
"lang" :'zh-cn'
}</script><link href=./static/css/app.9854283a8b427bdbad3358b3c99d13bf.css rel=stylesheet></head><body class=grey-bg><div id=app></div><div style=display:none>本网站基于开源版showdoc搭建,仅供私人使用。如需访问showdoc官网,请在搜索引擎里搜索showdoc字样或者直接访问showdoc.com.cn</div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.1eb6213d11eb61d1bd46.js></script><script type=text/javascript src=./static/js/app.01674f0df057e1fed70e.js></script></body></html>
// 挂在window下的全局配置
window.DocConfig = {
// "server":'http://127.0.0.1/showdoc/server/index.php?s=',
'server': window.location.protocol + '//' + window.location.host + window.location.pathname + '../server/index.php?s=',
// "lang" :'en'
'lang': 'zh-cn'
}</script><link href=./static/css/app.3478df3187bb5aac4b65130abcf7e669.css rel=stylesheet></head><body class=grey-bg><div id=app></div><div style=display:none>本网站基于开源版showdoc搭建,仅供私人使用。如需访问showdoc官网,请在搜索引擎里搜索showdoc字样或者直接访问showdoc.com.cn</div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.1eb6213d11eb61d1bd46.js></script><script type=text/javascript src=./static/js/app.92a2084db2edf20e74d0.js></script></body></html>

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions web/static/editor.md/lib/flowchart.min.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion web/static/js/app.01674f0df057e1fed70e.js

This file was deleted.

1 change: 1 addition & 0 deletions web/static/js/app.92a2084db2edf20e74d0.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion web/static/lang/zh-CN.js
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ exports.default = {
update_pwd_tips: '密码,不修改则留空',

import_excel: '你可以选择Excel文件导入',
table: '表格',
table: '电子表格',

attachment_manage: '附件管理',
op_success: '操作成功',
Expand Down

0 comments on commit dcd20e2

Please sign in to comment.