star7th 5 лет назад
Родитель
Сommit
a7aaf8b26a

+ 14 - 13
web/index.html

@@ -1,18 +1,19 @@
-<!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="在线API文档 技术文档 数据字典 在线手册"><meta name=description content=一个非常适合IT团队的在线API文档、技术文档工具。你可以使用Showdoc来编写在线API文档、技术文档、数据字典、在线手册><script type=text/javascript>//挂在window下的全局配置
+<!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="在线API文档 技术文档 数据字典 在线手册"><meta name=description content=一个非常适合IT团队的在线API文档、技术文档工具。你可以使用Showdoc来编写在线API文档、技术文档、数据字典、在线手册><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.c48ce3248f2121d4d7c6298ee07f6a90.css rel=stylesheet></head><body class=grey-bg><div id=app></div><script type=text/javascript src=./static/js/manifest.69b7425e83c569f573b8.js></script><script type=text/javascript src=./static/js/vendor.e142ae298b8919d4a6df.js></script><script type=text/javascript src=./static/js/app.d44a64b1e400ebc84a56.js></script></body></html><script language=JavaScript>var Wwidth = window.innerWidth ;
-  window.addEventListener('resize', function() {
-    ///宽度变化大于50像素的时候刷新整个窗口以适应新宽度
-    if ( Math.abs(Wwidth - window.innerWidth) > 50 ) {
-        //console.log(window.innerWidth + ' ' + window.innerHeight);
-        //如果不在编辑页面,则在窗口变化后刷新窗口以适应宽度
-        if(window.location.href.indexOf("/edit") === -1){
-          window.location.reload();
-        }
-    };
-
-  });</script>
+  }</script><link href=./static/css/app.5c97c49d6c3f5264111f86e4d9d302be.css rel=stylesheet></head><body class=grey-bg><div id=app></div><script type=text/javascript src=./static/js/manifest.3fcd1bd690b55143ddd6.js></script><script type=text/javascript src=./static/js/vendor.e142ae298b8919d4a6df.js></script><script type=text/javascript src=./static/js/app.220356fec38101729dd4.js></script></body></html>

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
web/static/css/app.5c97c49d6c3f5264111f86e4d9d302be.css


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
web/static/js/app.220356fec38101729dd4.js


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
web/static/js/app.d44a64b1e400ebc84a56.js


+ 1 - 1
web/static/js/manifest.69b7425e83c569f573b8.js → web/static/js/manifest.3fcd1bd690b55143ddd6.js

@@ -1 +1 @@
-!function(e){function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var r=window.webpackJsonp;window.webpackJsonp=function(t,a,c){for(var i,u,f,s=0,l=[];s<t.length;s++)u=t[s],o[u]&&l.push(o[u][0]),o[u]=0;for(i in a)Object.prototype.hasOwnProperty.call(a,i)&&(e[i]=a[i]);for(r&&r(t,a,c);l.length;)l.shift()();if(c)for(s=0;s<c.length;s++)f=n(n.s=c[s]);return f};var t={},o={2:0};n.e=function(e){function r(){i.onerror=i.onload=null,clearTimeout(u);var n=o[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),o[e]=void 0)}var t=o[e];if(0===t)return new Promise(function(e){e()});if(t)return t[2];var a=new Promise(function(n,r){t=o[e]=[n,r]});t[2]=a;var c=document.getElementsByTagName("head")[0],i=document.createElement("script");i.type="text/javascript",i.charset="utf-8",i.async=!0,i.timeout=12e4,n.nc&&i.setAttribute("nonce",n.nc),i.src=n.p+"static/js/"+e+"."+{0:"e142ae298b8919d4a6df",1:"d44a64b1e400ebc84a56"}[e]+".js";var u=setTimeout(r,12e4);return i.onerror=i.onload=r,c.appendChild(i),a},n.m=e,n.c=t,n.d=function(e,r,t){n.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:t})},n.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(r,"a",r),r},n.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},n.p="./",n.oe=function(e){throw console.error(e),e}}([]);
+!function(e){function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var r=window.webpackJsonp;window.webpackJsonp=function(t,c,a){for(var i,u,f,s=0,l=[];s<t.length;s++)u=t[s],o[u]&&l.push(o[u][0]),o[u]=0;for(i in c)Object.prototype.hasOwnProperty.call(c,i)&&(e[i]=c[i]);for(r&&r(t,c,a);l.length;)l.shift()();if(a)for(s=0;s<a.length;s++)f=n(n.s=a[s]);return f};var t={},o={2:0};n.e=function(e){function r(){i.onerror=i.onload=null,clearTimeout(u);var n=o[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),o[e]=void 0)}var t=o[e];if(0===t)return new Promise(function(e){e()});if(t)return t[2];var c=new Promise(function(n,r){t=o[e]=[n,r]});t[2]=c;var a=document.getElementsByTagName("head")[0],i=document.createElement("script");i.type="text/javascript",i.charset="utf-8",i.async=!0,i.timeout=12e4,n.nc&&i.setAttribute("nonce",n.nc),i.src=n.p+"static/js/"+e+"."+{0:"e142ae298b8919d4a6df",1:"220356fec38101729dd4"}[e]+".js";var u=setTimeout(r,12e4);return i.onerror=i.onload=r,a.appendChild(i),c},n.m=e,n.c=t,n.d=function(e,r,t){n.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:t})},n.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(r,"a",r),r},n.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},n.p="./",n.oe=function(e){throw console.error(e),e}}([]);

+ 2 - 2
web_src/src/components/item/show/show_regular_item/OpBar.vue

@@ -356,7 +356,7 @@
     this.lang = DocConfig.lang ;
     if (this.page_info.unique_key) {
       this.isCreateSiglePage = true ;
-      this.share_single_link = this.getRootPath()+"/p/"+this.page_info.unique_key ;
+      this.share_single_link = this.getRootPath()+"#/p/"+this.page_info.unique_key ;
     };
     document.onkeydown=function(e){  //对整个页面文档监听 其键盘快捷键
       var keyNum=window.event ? e.keyCode :e.which;  //获取被按下的键值 
@@ -388,7 +388,7 @@
     page_info:function(){
       if (this.page_info.unique_key) {
         this.isCreateSiglePage = true ;
-        this.share_single_link = this.getRootPath()+"/p/"+this.page_info.unique_key ;
+        this.share_single_link = this.getRootPath()+"#/p/"+this.page_info.unique_key ;
       }else{
         this.isCreateSiglePage = false ;
         this.share_single_link = '' ;

Некоторые файлы не были показаны из-за большого количества измененных файлов