1、第一步 引入 import { MessageBox } from 'element-ui'; 2、第二步 使用 function confirm(options = { }) { let { title, message