1.0.2 • Published 5 years ago
cyp_plugin_confirm v1.0.2
cyp_plugin_confirm
A vue confirm plugin
Build Setup
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# 使用方法:main.js
=> import confirm from 'cyp_plugin_confirm'
=> Vue.use(confirm)
# 业务逻辑调用
this.$confirm({
title: "重要提示",
des: "您确定要删除此项吗?",
callBack() {
console.log('ok');
}
});