1、字符串必须是buffer类型
2、.toString('base64')即可
js 将字符串转换成base64格式
猜你喜欢
转载自blog.csdn.net/weixin_43294560/article/details/113756706
今日推荐
周排行