showToast image只支持自定义图标的本地路径,真机显示对号
发布于 6 年前 作者 eyang 18005 次浏览 来自 问答

wx.showToast({

     title,

     image: ‘/img/warn-circle.svg’,

     duration: time,

   })

以上在 开发工具是 ok 的 可是到了 真机上就 显示 success 的图标

回到顶部