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 = []