From e155da2aeb9c44698e3a0d59ab3f32e5ad9bad5f Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期二, 26 十二月 2023 11:23:41 +0800
Subject: [PATCH] 工艺路线-bug修改

---
 src/views/technology/document/teststandard.vue |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/src/views/technology/document/teststandard.vue b/src/views/technology/document/teststandard.vue
index f8aa95a..4607896 100644
--- a/src/views/technology/document/teststandard.vue
+++ b/src/views/technology/document/teststandard.vue
@@ -59,7 +59,7 @@
   deleteTestStandard,
   getTestStand,
   saveTestStandard
-} from '../../../api/technology/document'
+} from '@/api/technology/document'
 import qualityStandardDialog from '@/views/common/teststandardradio.vue'
 
 export default {
@@ -75,7 +75,7 @@
   },
   data() {
     return {
-      paramObj: { documentId: this.documentId },
+      paramObj: {documentId : this.documentId},
       showQualityStandard: false,
       testStandardParams: [],
       ajaxFun: getTestStand,
@@ -185,7 +185,14 @@
     ...mapGetters(['permissions'])
   },
   created() {
-    getTestStand(this.paramObj)
+    this.$nextTick(()=>{
+      getTestStand(this.paramObj)
+    })
+  },
+  mounted(){
+    this.$nextTick(()=>{
+      getTestStand(this.paramObj)
+    })
   },
   methods: {
     // 鑾峰彇鏁版嵁鍒楄〃

--
Gitblit v1.9.3