Refactor
This commit is contained in:
parent
2a5016865a
commit
98fe9c39eb
57 changed files with 2846 additions and 422 deletions
|
|
@ -20,7 +20,6 @@
|
|||
<script lang="ts">
|
||||
import Vue from 'vue';
|
||||
import { version, codename } from '../../../config';
|
||||
import getUserName from '../../../../../renderers/get-user-name';
|
||||
|
||||
export default Vue.extend({
|
||||
data() {
|
||||
|
|
@ -30,8 +29,8 @@ export default Vue.extend({
|
|||
};
|
||||
},
|
||||
computed: {
|
||||
name() {
|
||||
return getUserName(this.os.i);
|
||||
name(): string {
|
||||
return Vue.filter('userName')((this as any).os.i);
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue