daasd commited on
Commit
c0825ea
·
verified ·
1 Parent(s): d5fbf25

Update PNG_info_web.js

Browse files
Files changed (1) hide show
  1. PNG_info_web.js +1 -1
PNG_info_web.js CHANGED
@@ -861,7 +861,7 @@ let imgStorage=(img)=>{
861
  }
862
  else{
863
  // this.shadowRoot.querySelector("#tagger图生文_tab").style.color=''
864
- this.shadowRoot.querySelector("#tab_pnginfo > div > div > div:nth-child(2) > div:nth-child(3)").innerText = res[0].text
865
  }
866
  //js对象形式转化
867
  const result = {};
 
861
  }
862
  else{
863
  // this.shadowRoot.querySelector("#tagger图生文_tab").style.color=''
864
+ this.shadowRoot.querySelector("#txt2img_tab").parentNode.parentNode.children[2].innerText = res[0].text
865
  }
866
  //js对象形式转化
867
  const result = {};