调整属性顺序

This commit is contained in:
2021-05-23 23:35:58 +08:00
parent ae94104f47
commit 96cf231cbd
5 changed files with 37 additions and 37 deletions

View File

@@ -9,13 +9,6 @@ import navTools from '@/assets/js/navTools.js';
export default {
name: 'ToolsDetail',
data() {
return {
utils: this.$root.utils,
toolList: navTools,
toolElem: null
}
},
beforeRouteEnter(to, from, next) {
next(vm => {
var params = vm.$route.params;
@@ -49,7 +42,14 @@ export default {
return elem;
});
});
}
},
data() {
return {
utils: this.$root.utils,
toolList: navTools,
toolElem: null
}
},
}
</script>