RuoYi
2021-03-24 090e258bf9867f3678c1607529c6d4fb2fd0eba7
显隐列初始默认隐藏列
已修改2个文件
20 ■■■■ 文件已修改
ruoyi-ui/src/components/RightToolbar/index.vue 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/system/user/profile/userAvatar.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/components/RightToolbar/index.vue
@@ -43,7 +43,14 @@
      type: Array,
    },
  },
  created() {
    // 显隐列初始默认隐藏列
    for (let item in this.columns) {
      if (this.columns[item].visible === false) {
        this.value.push(parseInt(item));
      }
    }
  },
  methods: {
    // 搜索
    toggleSearch() {
ruoyi-ui/src/views/system/user/profile/userAvatar.vue
@@ -82,14 +82,6 @@
      previews: {}
    };
  },
    created() {
    // 显隐列组件默认隐藏列
    for (let item in this.columns) {
      if (this.columns[item].visible === false) {
        this.value.push(parseInt(item))
      }
    }
  },
  methods: {
    // 编辑头像
    editCropper() {
@@ -145,9 +137,10 @@
    realTime(data) {
      this.previews = data;
    },
    //取消截图,关闭对话框
    // 关闭窗口
    closeDialog() {
      this.options.img = store.getters.avatar
      this.visible = false;
    }
  }
};