EISDIR: illegal operation on a directory

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

wx.createBannerAd

创建广告banner的时候,调试基础库2.3.0以上版本会一直出现错误EISDIR: illegal operation on a directory

2.3.0版本没有出现错误

3 回复
xiayuan
xiayuan1 楼6 年前

问题解决了吗

kliang
kliang2 楼6 年前

let newBannerAd = wx.createBannerAd({

adUnitId: ‘adunit-2d08267225eedd2a’,

style: {

left: 0,

top: 0,

top: systemInfo.screenHeight - 120,

width: 300

}

})

照着你们官方文档写的