项目中会碰到在react项目中引入html静态页面的需求,以下是解决方法:主要实现:通过<iframe>方式引入,以下是核心代码部分:import data from './data.html'; // 引入 ...
確定! 回上一頁