Dynamic addGlobalClass option in component definition of "miniprogram_npm/@vant/weapp/loading/index" have been deprecated, and will NOT take effect in glass-easel. Consider migrating this option to component static config (miniprogram_npm/@vant/weapp/loading/index.json) by adding { "styleIsolation": "apply-shared"}
重现链接
Vant Weapp 版本
1.11.6
描述一下你遇到的问题。
引入vant weapp并使用相关样式,控制台会有多个相同的黄色提示,该如何解决?
控制台黄色提示:
Dynamic
addGlobalClass
option in component definition of "miniprogram_npm/@vant/weapp/loading/index" have been deprecated, and will NOT take effect in glass-easel. Consider migrating this option to component static config (miniprogram_npm/@vant/weapp/loading/index.json) by adding{ "styleIsolation": "apply-shared"
}重现步骤
引入vant weapp并使用相关样式,控制台会有多个相同的黄色提示,该如何解决?
设备/浏览器
No response