如何引用crypto?

发布于 8 年前作者 jingdong2005 次浏览最后编辑 8 年前来自 ask

小程序解密手机时这个怎么引用var crypto = require(crypto)

1 回复
xiuying12
xiuying121 楼5 年前

你用的是插件吧,引用插件的语法:const crypto = requirePlugin(“crypto”);