1、toast在main.js中引用2、在每个页面中使用toast3、每个页面有一个私有样式scoped,因此类名inexa的层级写在app.vue里注:toast每调用一次(z-index)层级就会加一,因为默认打开了新窗口,层级会加一
转载于:https://blog.csdn.net/qq_42859450/article/details/106417432