Skip to content

Commit ff46fe1

Browse files
committed
fixed export bugs
1 parent 9cc98e8 commit ff46fe1

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

src/components/nav-buttons/ExportMenu.vue

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -291,28 +291,27 @@ export default {
291291
if (compClass !== "" && compID !== "") {
292292
293293
if(this.$store.state.exportOauth ==='on'||this.$store.state.exportOauthGithub ==='on'){
294-
return `<template>\n <div id = "${compID}" class = "${compClass}">\n${templateTagStr}${routeStr} </div>\n<Oauth/>\n</template>`;
294+
return `<template>\n <div id = "${compID}" class = "${compClass}">\n${templateTagStr}${routeStr} \n<Oauth/>\n\t</div>\n</template>`;
295295
}
296-
return `<template>\n <div id = "${compID}" class = "${compClass}">\n${templateTagStr}${routeStr} </div>\n</template>`;
296+
return `<template>\n <div id = "${compID}" class = "${compClass}">\n${templateTagStr}${routeStr} \n\t</div>\n</template>`;
297297
}
298298
else if (compClass !== "" && compID === "") {
299299
if(this.$store.state.exportOauth ==='on'||this.$store.state.exportOauthGithub ==='on'){
300-
return `<template>\n <div class = "${compClass}">\n${templateTagStr}${routeStr} </div>\n<Oauth/>\n</template>`;
300+
return `<template>\n <div class = "${compClass}">\n${templateTagStr}${routeStr} \t\t<Oauth/>\n\t</div>\n</template>`;
301301
}
302-
return `<template>\n <div class = "${compClass}">\n${templateTagStr}${routeStr} </div>\n</template>`;
302+
return `<template>\n <div class = "${compClass}">\n${templateTagStr}${routeStr} \n\t</div>\n</template>`;
303303
}
304304
else if (compClass === "" && compID !== "") {
305-
if(this.$store.state.exportOauth ==='on'||this.$store.state.exportOauthGithub ==='on'){return `<template>\n <div id = "${compID}">\n${templateTagStr}${routeStr} </div>\n<Oauth/>\n</template>`;}
305+
if(this.$store.state.exportOauth ==='on'||this.$store.state.exportOauthGithub ==='on'){return `<template>\n <div id = "${compID}">\n${templateTagStr}${routeStr}\n\t\t<Oauth/>\n\t</div>\n</template>`;}
306306
return `<template>\n <div id = "${compID}">\n${templateTagStr}${routeStr} </div>\n</template>`;
307307
}
308308
else {
309-
if(this.$store.state.exportOauth ==='on'||this.$store.state.exportOauthGithub ==='on'){return `<template>\n <div>\n\t${str}${templateTagStr}${routeStr} </div>\n<Oauth/>\n</template>`;}
309+
if(this.$store.state.exportOauth ==='on'||this.$store.state.exportOauthGithub ==='on'){return `<template>\n <div>\n\t${str}${templateTagStr}${routeStr}\t\t<Oauth/> \n\t</div>\n</template>`;}
310310
return `<template>\n <div>\n\t${str}${templateTagStr}${routeStr} </div>\n</template>`;
311311
}
312312
}
313313
else {
314-
if(this.$store.state.exportOauth ==='on'||this.$store.state.exportOauthGithub ==='on'){return `<template>\n\t${str}${templateTagStr}${routeStr}</div>\n<Oauth/>\n</template>`}
315-
return `<template>\n\t${str}${templateTagStr}${routeStr}</div>\n</template>`
314+
return `<template>\n\t${str}${templateTagStr}${routeStr}\t</div>\n</template>`
316315
}
317316
},
318317
/**
@@ -486,6 +485,8 @@ export default {
486485
.router-view {
487486
margin:auto;
488487
background-color: gray;
488+
height: 720px;
489+
width: 1280px;
489490
}
490491
</style >`
491492
} else return `\n\n<style scoped>\n${styleString}</style >`;

0 commit comments

Comments
 (0)