|
|
@ -81,14 +81,6 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
previews: {} |
|
|
|
previews: {} |
|
|
|
}; |
|
|
|
}; |
|
|
|
}, |
|
|
|
|
|
|
|
created() { |
|
|
|
|
|
|
|
// 显隐列组件默认隐藏列 |
|
|
|
|
|
|
|
for (let item in this.columns) { |
|
|
|
|
|
|
|
if (this.columns[item].visible === false) { |
|
|
|
|
|
|
|
this.value.push(parseInt(item)) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
// 编辑头像 |
|
|
|
// 编辑头像 |
|
|
@ -145,9 +137,10 @@ export default { |
|
|
|
realTime(data) { |
|
|
|
realTime(data) { |
|
|
|
this.previews = data; |
|
|
|
this.previews = data; |
|
|
|
}, |
|
|
|
}, |
|
|
|
//取消截图,关闭对话框 |
|
|
|
// 关闭窗口 |
|
|
|
closeDialog() { |
|
|
|
closeDialog() { |
|
|
|
this.options.img = store.getters.avatar |
|
|
|
this.options.img = store.getters.avatar |
|
|
|
|
|
|
|
this.visible = false; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|