panxiandiao_i 5 年之前
父节点
当前提交
c16f240cd8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/Platform/bugManage/bugQuery.vue

+ 1 - 1
src/views/Platform/bugManage/bugQuery.vue

@@ -278,7 +278,7 @@ export default {
       bugGet(this.$route.query.id).then(res => {
         this.form = res.data
         this.$nextTick(() => {
-          document.getElementById('specialP').childNodes[0].style.cssText = 'margin-top:0'
+          if (document.getElementById('specialP').childNodes[0])document.getElementById('specialP').childNodes[0].style.cssText = 'margin-top:0'
           if (document.getElementById('specialPAnother').childNodes[0])document.getElementById('specialPAnother').childNodes[0].style.cssText = 'margin-top:0'
         })
         this.fileList = []