Former-commit-id: c5c758a3e2b5e82f3e3f64b89b4fa3f82e7e18ca [formerly c5c758a3e2b5e82f3e3f64b89b4fa3f82e7e18ca [formerly c5c758a3e2b5e82f3e3f64b89b4fa3f82e7e18ca [formerly c5c758a3e2b5e82f3e3f64b89b4fa3f82e7e18ca [formerly 6f0f7f02f0824fbdb259814c067629459e23288f [formerly 758f016ea87157922f71ccce0e70ddf554bfe298]]]]]
Former-commit-id: 2937c303eaf13793d17401d98873a54e2c2b7d1e
Former-commit-id: c75e02b1ecd6494143a837518341bdc853363532
Former-commit-id: 0e6fc404cdfdfe4bdea4dc4183c653b7cfdf4e81 [formerly 3707dda6fe9b1e959fb83e85fec4ae89af6eebe1]
Former-commit-id: 9adb43687549c659fd6f51e6167928431df4cb84
Former-commit-id: 97ab4d485b7ead419e0c75e208bd1674950e9b67
Former-commit-id: 243cef2a4e6077c855b60ca35403aa0d385a6bdd
Former-commit-id: 2c0e1d3d49d4f7c8d7d7139b1402a93e3ab84878
Former-commit-id: f2425ec903b4aaabf3bfb11357111e9a25bcd83c
This commit is contained in:
liyang
2018-09-11 13:26:54 +08:00
parent c4aefe50c2
commit b9d63f2fc2
2 changed files with 6 additions and 3 deletions

View File

@@ -35,11 +35,14 @@ export default {
value: {
handler (val) {
if (this.$ELEMENT.size !== val) {
// 设置 element 全局尺寸
this.$ELEMENT.size = val
// 清空缓存设置
this.pageKeepAliveClean()
const { path } = this.$route
// 刷新此页面
const { path, query } = this.$route
this.$router.replace({
path: '/redirect' + path
path: '/redirect/' + JSON.stringify({ path, query })
})
}
},