Commit 928ed1bf authored by yyh's avatar yyh

代码规范

parent 003a7fef
......@@ -82,7 +82,7 @@ export default class IndexSy extends Mixins(IndexMixin) {
if (!newVal) {
this.loading = false;
} else {
const promises = [this.getProofCount(),this.getUserFolders()];
const promises = [this.getProofCount(), this.getUserFolders()];
await Promise.all(promises);
this.loading = false;
}
......@@ -102,7 +102,7 @@ export default class IndexSy extends Mixins(IndexMixin) {
this.$router.push({name: 'Login'});
}
private goTemplList(templList: [] = [], folderName = '') {
this.$router.push({ name: 'TemplList', query: { templList: JSON.stringify(templList) ,folderName} });
this.$router.push({ name: 'TemplList', query: { templList: JSON.stringify(templList) , folderName} });
}
}
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment