diff --git a/frontend/package.json b/frontend/package.json index 08b8939883..fd85f4983c 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -4,7 +4,7 @@ "private": true, "scripts": { "serve": "vue-cli-service serve", - "build": "export NODE_OPTIONS=--max_old_space_size=4096 && vue-cli-service build", + "build": "vue-cli-service build", "build-win": "SET NODE_OPTIONS=--max_old_space_size=4096 && vue-cli-service build", "lint": "vue-cli-service lint" }, diff --git a/frontend/src/business/components/track/plan/view/comonents/report/detail/TestPlanReportContent.vue b/frontend/src/business/components/track/plan/view/comonents/report/detail/TestPlanReportContent.vue index 0f1fa71383..6005a49ec6 100644 --- a/frontend/src/business/components/track/plan/view/comonents/report/detail/TestPlanReportContent.vue +++ b/frontend/src/business/components/track/plan/view/comonents/report/detail/TestPlanReportContent.vue @@ -11,7 +11,7 @@ - + diff --git a/frontend/src/business/components/track/plan/view/comonents/report/detail/TestPlanReportNavigationBar.vue b/frontend/src/business/components/track/plan/view/comonents/report/detail/TestPlanReportNavigationBar.vue index c3fd1eb762..38aa5a85b1 100644 --- a/frontend/src/business/components/track/plan/view/comonents/report/detail/TestPlanReportNavigationBar.vue +++ b/frontend/src/business/components/track/plan/view/comonents/report/detail/TestPlanReportNavigationBar.vue @@ -19,6 +19,9 @@ import MsDrawer from "@/business/components/common/components/MsDrawer"; export default { name: "TestPlanReportNavigationBar", components: {MsDrawer}, + props: { + isTemplate: Boolean, + }, data() { return { asideHidden: true, @@ -50,7 +53,11 @@ export default { watch: { activeName() { let url = new URL(window.location.href); - window.location.href = url.origin + '#' + this.activeName; + if (this.isTemplate) { + window.location.href = window.location.href.split('#')[0] + '#' + this.activeName; + } else { + window.location.href = url.origin + '#' + this.activeName; + } } } } diff --git a/frontend/src/business/components/track/plan/view/comonents/report/detail/component/TabPaneCount.vue b/frontend/src/business/components/track/plan/view/comonents/report/detail/component/TabPaneCount.vue index 3012e9773b..5ea8bbe976 100644 --- a/frontend/src/business/components/track/plan/view/comonents/report/detail/component/TabPaneCount.vue +++ b/frontend/src/business/components/track/plan/view/comonents/report/detail/component/TabPaneCount.vue @@ -20,7 +20,7 @@ export default { /*color: white;*/ color: #783887; height: 20px; - border: 0px; + border: 0px !important; /*border-radius: 42%;*/ /*margin-left: 4px;*/ }