浏览代码

更换新logo

zhengjinyi 2 年之前
父节点
当前提交
0a29ad0e51
共有 4 个文件被更改,包括 2 次插入13 次删除
  1. 二进制
      public/favicon.ico
  2. 0 0
      public/favicon.svg
  3. 1 1
      src/layout/components/Sidebar/Logo.vue
  4. 1 12
      src/views/user/record/list.vue

二进制
public/favicon.ico


文件差异内容过多而无法显示
+ 0 - 0
public/favicon.svg


+ 1 - 1
src/layout/components/Sidebar/Logo.vue

@@ -25,7 +25,7 @@ export default {
   data() {
     return {
       title: '采美后台',
-      logo: '/favicon.svg'
+      logo: '/favicon.ico'
     }
   }
 }

+ 1 - 12
src/views/user/record/list.vue

@@ -336,11 +336,10 @@ export default {
     // 监听screenHeight从而改变table的高度
     screenHeight(val) {
       this.screenHeight = val
-      this.tableHeight = this.screenHeight - 260
+      this.tableHeight = this.screenHeight - 120
     }
   },
   created() {
-    this.getHeigth()
     this.getList()
   },
   mounted: function() {
@@ -354,16 +353,6 @@ export default {
     }
   },
   methods: {
-    // 根据不同设备设置表格高度
-    getHeigth() {
-      const windowWidth = document.documentElement.clientWidth
-      if (windowWidth > 1200) {
-        this.tableheight = 900
-      } else {
-        this.tableheight = 500
-      }
-      console.log('tabheight', this.tableheight)
-    },
     // tab切换
     handleClick(tab, event) {
       if (tab.name === 'first') {

部分文件因为文件数量过多而无法显示