refactor(client): Use symbol
This commit is contained in:
parent
d3fe02fb3e
commit
45e5d89353
103 changed files with 246 additions and 142 deletions
|
@ -32,6 +32,8 @@ import FormSwitch from '@client/components/form/switch.vue';
|
|||
import FormBase from '@client/components/form/base.vue';
|
||||
import FormGroup from '@client/components/form/group.vue';
|
||||
import * as os from '@client/os';
|
||||
import * as symbols from '@client/symbols';
|
||||
import * as symbols from '@client/symbols';
|
||||
|
||||
export default defineComponent({
|
||||
components: {
|
||||
|
@ -45,7 +47,7 @@ export default defineComponent({
|
|||
|
||||
data() {
|
||||
return {
|
||||
INFO: {
|
||||
[symbols.PAGE_INFO]: {
|
||||
title: this.$ts.emailNotification,
|
||||
icon: faEnvelope
|
||||
},
|
||||
|
@ -69,7 +71,7 @@ export default defineComponent({
|
|||
},
|
||||
|
||||
mounted() {
|
||||
this.$emit('info', this.INFO);
|
||||
this.$emit('info', this[symbols.PAGE_INFO]);
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue