panxiandiao_i 5 år sedan
förälder
incheckning
c16f240cd8
1 ändrade filer med 1 tillägg och 1 borttagningar
  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 = []