关于js调用ts中某些属性

本项目为Angular项目

1.在js调用前在ts中将所需的属性值存入缓存中

 

 

2.js中直接调用缓存

 

posted @ 2022-08-04 15:36  流年sugar  阅读(261)  评论(0编辑  收藏  举报