
前端
cool-boy
这个作者很懒,什么都没留下…
展开
-
uni-app安装scss/sass后报错:node-sass\4.12.0\win32-x64-64_binding.node is not a valid Win32 application.
场景描述最近在使用uni-app开发小程序时,因为引入了第三方组件使用了sass,HBuilder默认没有安装‘scss/sass’插件,导致编译报错C:\Users\Administrator\AppData\Roaming\npm-cache\node-sass\4.12.0\win32-x64-64_binding.node is not a valid Win32 application原因:全局安装的sass版本与uni-app编译需要的版本不一致导致解决办法下载in32-ia32...原创 2021-05-07 14:49:52 · 847 阅读 · 0 评论 -
前台请求带参数 尤其带 汉字参数时 ie11报 400错误
var url = contextPath + “/ech/manage/report/printHealthEducation?type=” + type + “&name=” + encodeURIComponent(name);使用encodeURIComponent对汉字进行转码即可原创 2019-04-12 11:14:13 · 1116 阅读 · 1 评论