fis3-jello icon indicating copy to clipboard operation
fis3-jello copied to clipboard

如何在生成script标签上属性

Open hale1106 opened this issue 8 years ago • 0 comments

需求是这样的 1、用的 `#script() require("./hotCar")

end`

引用了一个js文件,但我想在页面渲染出来的时候给这个script标签上加一个属性,如data="type" 2、hotCar.js在生产环境会被合并到pkb/common.js里,那如果给common.js也加上data="type"属性呢 求解

hale1106 avatar Sep 23 '16 03:09 hale1106