refactor(editor): Improve linting for component and prop names (no-changelog) (#8169)
This commit is contained in:
committed by
GitHub
parent
639afcd7a5
commit
68cff4c59e
@@ -12,6 +12,12 @@ export default defineComponent({
|
||||
name: 'ExecutionTime',
|
||||
mixins: [genericHelpers],
|
||||
props: ['startTime'],
|
||||
data() {
|
||||
return {
|
||||
nowTime: -1,
|
||||
intervalTimer: null as null | NodeJS.Timeout,
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
time(): string {
|
||||
if (!this.startTime) {
|
||||
@@ -21,12 +27,6 @@ export default defineComponent({
|
||||
return this.displayTimer(msPassed);
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
nowTime: -1,
|
||||
intervalTimer: null as null | NodeJS.Timeout,
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
this.setNow();
|
||||
this.intervalTimer = setInterval(() => {
|
||||
|
||||
Reference in New Issue
Block a user