|
|
|
@ -174,7 +174,10 @@ export class KnowRouteComponent implements OnInit {
|
|
|
|
|
this.chooseid=key |
|
|
|
|
this.clickName=item.name+key+sessionStorage.getItem("companyId") |
|
|
|
|
//console.log("sss"+JSON.parse(localStorage.getItem(sessionStorage.getItem("companyId")+"xxx"))[key].src)
|
|
|
|
|
if( JSON.parse(localStorage.getItem(sessionStorage.getItem("companyId")+"xxx")) && JSON.parse(localStorage.getItem(sessionStorage.getItem("companyId")+"xxx"))[key].src!=""&&JSON.parse(localStorage.getItem(sessionStorage.getItem("companyId")+"xxx"))[key].src!=undefined){ |
|
|
|
|
/* if(JSON.parse(localStorage.getItem(sessionStorage.getItem("companyId")+"xxx"))[key]){ |
|
|
|
|
|
|
|
|
|
} */ |
|
|
|
|
if( JSON.parse(localStorage.getItem(sessionStorage.getItem("companyId")+"xxx"))&& JSON.parse(localStorage.getItem(sessionStorage.getItem("companyId")+"xxx"))[key] && JSON.parse(localStorage.getItem(sessionStorage.getItem("companyId")+"xxx"))[key].src!=""){ |
|
|
|
|
this.imgsrc=JSON.parse(localStorage.getItem(sessionStorage.getItem("companyId")+"xxx"))[key].src |
|
|
|
|
this.textareazhi=JSON.parse(localStorage.getItem(sessionStorage.getItem("companyId")+"xxx"))[key].smark |
|
|
|
|
this.inputShow=false |
|
|
|
|