1.main.js
//全局引用Toast
import { Toast } from "mint-ui";
Vue.prototype.$toast = Toast
2.use.vue
this.$toast({
message: "邮箱已拷贝",
position: "center",
duration: 1000
});