src目录下新建一个
export const mixin={
methods:{
notify(title,type){
this.$notify({
title:title,
type:type
})
}
}
}
在vue页面中
引入导出
src目录下新建一个
export const mixin={
methods:{
notify(title,type){
this.$notify({
title:title,
type:type
})
}
}
}
在vue页面中
引入导出