chuzhixin 4 years ago
parent
commit
cfeb0bf945
2 changed files with 2 additions and 4 deletions
  1. 1 1
      public/index.html
  2. 1 3
      src/views/index/index.vue

+ 1 - 1
public/index.html

@@ -40,7 +40,7 @@
         alert('基于vue-admin-beautiful开发的项目需要部署到服务器下访问')
     </script>
     <script>
-      if (window.location.hostname !== localhost) {
+      if (window.location.hostname !== 'localhost') {
         var _hmt = _hmt || []
         ;(function () {
           var hm = document.createElement('script')

+ 1 - 3
src/views/index/index.vue

@@ -167,9 +167,7 @@
               <el-button type="warning">码云下载源码点star</el-button>
             </a>
             <el-popover placement="top" width="250" trigger="hover">
-              <p>
-                谢谢您愿意支持开源,加群获取详细教程,群内提供vue-admin-beautiful-template基础模板
-              </p>
+              <p>谢谢您愿意支持开源,加群获取文档,群内提供基础模板</p>
               <el-image :src="require('@/assets/ewm.png')"></el-image>
               <a slot="reference" target="_blank">
                 <el-button type="warning">文档</el-button>