更改字体大小后重新加载页面
Former-commit-id: 8bd2181aebe2d5bb0031d3f14285d99dd71cd600 [formerly 51cfdcb33fea7ed230623e6af1c6fabf82f46385] [formerly 8bd2181aebe2d5bb0031d3f14285d99dd71cd600 [formerly 51cfdcb33fea7ed230623e6af1c6fabf82f46385] [formerly 8bd2181aebe2d5bb0031d3f14285d99dd71cd600 [formerly 51cfdcb33fea7ed230623e6af1c6fabf82f46385] [formerly 51cfdcb33fea7ed230623e6af1c6fabf82f46385 [formerly 3971f03675e8e0821dbd3f368256e16a994b6e51 [formerly 776505901685f2c95336c3c436d2534b31f398a8]]]]] Former-commit-id: 2f6323c1e76bde0b8ab10eba2a682e1002dbb5db Former-commit-id: f3022bef3c6cbc5a692597c92469bdac1949765b Former-commit-id: ff9779ffcd0a7249242431e09ac9dd1115282d4a [formerly 0ddfd187a6f0078ccb8f6c73b4486221c5a23a06] Former-commit-id: 753bce6ee4c53f6ae3d635d4756562ce75bf5ad1 Former-commit-id: 90faedc34e09c7caea4ab6c86835f19963121d45 Former-commit-id: e51610d40966f4b6ef460e6c350a61e51fbf52c9 Former-commit-id: ce9941f577755eae35b65f684bf2c937fd2aeaac Former-commit-id: dfc181c42686598941822acffe437e596550c01d
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
<d2-icon name="font" style="font-size: 16px;"/>
|
<d2-icon name="font" style="font-size: 16px;"/>
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-dropdown-menu slot="dropdown">
|
<el-dropdown-menu slot="dropdown">
|
||||||
<el-dropdown-item command="">
|
<el-dropdown-item command="default">
|
||||||
<d2-icon :name="iconName('default')" class="d2-mr-5"/>默认
|
<d2-icon :name="iconName('default')" class="d2-mr-5"/>默认
|
||||||
</el-dropdown-item>
|
</el-dropdown-item>
|
||||||
<el-dropdown-item command="medium">
|
<el-dropdown-item command="medium">
|
||||||
@@ -35,20 +35,26 @@ export default {
|
|||||||
value: {
|
value: {
|
||||||
handler (val) {
|
handler (val) {
|
||||||
this.$ELEMENT.size = val
|
this.$ELEMENT.size = val
|
||||||
|
this.$message({
|
||||||
|
message: `设置尺寸成功 ${val}`,
|
||||||
|
type: 'success'
|
||||||
|
})
|
||||||
|
this.pageKeepAliveClean()
|
||||||
|
const { path } = this.$route
|
||||||
|
this.$router.replace({
|
||||||
|
path: '/redirect' + path
|
||||||
|
})
|
||||||
},
|
},
|
||||||
immediate: true
|
immediate: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
...mapMutations('d2admin/size', [
|
...mapMutations({
|
||||||
'set'
|
sizeSet: 'd2admin/size/set',
|
||||||
]),
|
pageKeepAliveClean: 'd2admin/page/keepAliveClean'
|
||||||
|
}),
|
||||||
handleChange (value) {
|
handleChange (value) {
|
||||||
this.set(value)
|
this.sizeSet(value)
|
||||||
this.$message({
|
|
||||||
message: `设置尺寸成功 ${value}`,
|
|
||||||
type: 'success'
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
iconName (name) {
|
iconName (name) {
|
||||||
return name === this.value ? 'dot-circle-o' : 'circle-o'
|
return name === this.value ? 'dot-circle-o' : 'circle-o'
|
||||||
|
|||||||
12
src/pages/redirect/index.vue
Executable file
12
src/pages/redirect/index.vue
Executable file
@@ -0,0 +1,12 @@
|
|||||||
|
<script>
|
||||||
|
// 跳板页面
|
||||||
|
export default {
|
||||||
|
beforeCreate () {
|
||||||
|
const path = this.$route.params.path
|
||||||
|
this.$router.replace('/' + path)
|
||||||
|
},
|
||||||
|
render: function (h) {
|
||||||
|
return h()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
@@ -1 +1 @@
|
|||||||
e5f86ceea9da8ed5238a065835a8d86dfa3cf688
|
609c02412f8f0258da541f80d746a00b9a614d21
|
||||||
@@ -1 +1 @@
|
|||||||
3ea93a47151c1e74b0de50125934245e1917cb89
|
d17c431357bf57bab4723efb614929a1f5187956
|
||||||
Reference in New Issue
Block a user