Browse Source

编辑目录的bug

star7th 7 years ago
parent
commit
9e56fd31b4

+ 1 - 1
composer.json

@@ -5,7 +5,7 @@
     "description": "ShowDoc is a tool greatly applicable for an IT team to share documents online",
     "description": "ShowDoc is a tool greatly applicable for an IT team to share documents online",
     "keywords": ["showdoc","documents","Api"],
     "keywords": ["showdoc","documents","Api"],
     "homepage": "https://github.com/star7th/showdoc",
     "homepage": "https://github.com/star7th/showdoc",
-    "version":"v2.0.4",
+    "version":"v2.0.5",
     "license": "Apache-2.0",
     "license": "Apache-2.0",
     "authors": [
     "authors": [
         {
         {

+ 1 - 1
web/index.html

@@ -4,4 +4,4 @@
       "server": window.location.protocol +'//'+ window.location.host + window.location.pathname+ '../server/index.php?s=',
       "server": window.location.protocol +'//'+ window.location.host + window.location.pathname+ '../server/index.php?s=',
       //"lang" :'en'
       //"lang" :'en'
       "lang" :'zh-cn'
       "lang" :'zh-cn'
-  }</script><link href=./static/css/app.b791e5c0bb481338e7aefc3c81d462ec.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.9df9d183c867769136d6.js></script><script type=text/javascript src=./static/js/vendor.6ec312a9f1e4bcc005ef.js></script><script type=text/javascript src=./static/js/app.cb0bbf0a0f63d5e48e90.js></script></body></html>
+  }</script><link href=./static/css/app.e84a6976614c670eab2444714aa1804b.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.03b740f400a54722001e.js></script><script type=text/javascript src=./static/js/vendor.6ec312a9f1e4bcc005ef.js></script><script type=text/javascript src=./static/js/app.23fdda1b96dff5aca8eb.js></script></body></html>

File diff suppressed because it is too large
+ 0 - 0
web/static/css/app.e84a6976614c670eab2444714aa1804b.css


File diff suppressed because it is too large
+ 0 - 0
web/static/js/app.23fdda1b96dff5aca8eb.js


File diff suppressed because it is too large
+ 0 - 0
web/static/js/app.cb0bbf0a0f63d5e48e90.js


+ 1 - 1
web/static/js/manifest.9df9d183c867769136d6.js → web/static/js/manifest.03b740f400a54722001e.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,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:"6ec312a9f1e4bcc005ef",1:"cb0bbf0a0f63d5e48e90"}[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}}([]);
+!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:"6ec312a9f1e4bcc005ef",1:"23fdda1b96dff5aca8eb"}[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}}([]);

+ 6 - 1
web_src/src/components/catalog/index.vue

@@ -5,7 +5,7 @@
     <el-container>
     <el-container>
       <el-card class="center-card">
       <el-card class="center-card">
 
 
-      <el-button  type="text" class="add-cat" @click="dialogFormVisible = true">{{$t('add_cat')}}</el-button>
+      <el-button  type="text" class="add-cat" @click="add_cat">{{$t('add_cat')}}</el-button>
       <el-button type="text" class="goback-btn" @click="goback">{{$t('goback')}}</el-button>
       <el-button type="text" class="goback-btn" @click="goback">{{$t('goback')}}</el-button>
        <el-table align="left"
        <el-table align="left"
             :data="catalogs"
             :data="catalogs"
@@ -205,6 +205,11 @@ export default {
             }); 
             }); 
           })
           })
 
 
+      },
+      add_cat(){
+        this.MyForm = [] ;
+        this.dialogFormVisible = true;
+
       },
       },
       goback(){
       goback(){
         var url = '/'+this.$route.params.item_id;
         var url = '/'+this.$route.params.item_id;

Some files were not shown because too many files changed in this diff