diff --git a/src/pages/technical-support/doc/index.vue b/src/pages/technical-support/doc/index.vue index 9d1acf59cd7827fdcdcb79d0f4a53375257e5b46..977484acb146c3c3305d3e9053659454adc31dc1 100644 --- a/src/pages/technical-support/doc/index.vue +++ b/src/pages/technical-support/doc/index.vue @@ -99,7 +99,7 @@ export default { this.navList = nav; if (activePath && this.$route.params.id === undefined) { this.$router.push(activePath); - } else { + } else if (activePath === "") { this.$message.error("您尚未创建任何文档"); } });