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, 8 insertions(+), 5 deletions(-) diff --git a/src/views/technology/document/teststandard.vue b/src/views/technology/document/teststandard.vue index 39e3225..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,11 +185,14 @@ ...mapGetters(['permissions']) }, created() { - getTestStand(this.paramObj) + this.$nextTick(()=>{ + getTestStand(this.paramObj) + }) }, mounted(){ - console.log(11111); - getTestStand(this.paramObj) + this.$nextTick(()=>{ + getTestStand(this.paramObj) + }) }, methods: { // 鑾峰彇鏁版嵁鍒楄〃 -- Gitblit v1.9.3