panxiandiao_i před 5 roky
rodič
revize
c16f240cd8
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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 = []