diff --git a/package.json b/package.json index 384a261..29cd5ab 100644 --- a/package.json +++ b/package.json @@ -33,6 +33,7 @@ "normalize.css": "7.0.0", "nprogress": "0.2.0", "path-to-regexp": "2.4.0", + "pinyin": "^2.9.1", "pl-table": "2.5.8", "scriptjs": "^2.5.9", "sortablejs": "^1.10.2", diff --git a/src/components/ShowFile/ShowFile.vue b/src/components/ShowFile/ShowFile.vue index a33bb7c..170dd99 100644 --- a/src/components/ShowFile/ShowFile.vue +++ b/src/components/ShowFile/ShowFile.vue @@ -338,8 +338,6 @@ - - 0){ host = window.location.host.substring(0,window.location.host.length - window.location.port.length - 1) } - console.log(host) if(process.env.NODE_ENV !== 'development'){ let host = window.location.host if(window.location.port.length > 0){ diff --git a/src/layout/components/Sidebar/Logo.vue b/src/layout/components/Sidebar/Logo.vue index 040fab6..34bb731 100644 --- a/src/layout/components/Sidebar/Logo.vue +++ b/src/layout/components/Sidebar/Logo.vue @@ -2,11 +2,13 @@