mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-27 01:32:03 +08:00
26 lines
387 B
JavaScript
26 lines
387 B
JavaScript
|
import message from './message.js';
|
|||
|
// 定义 type 类型:弹出类型:top/bottom/center
|
|||
|
const config = {
|
|||
|
// 顶部弹出
|
|||
|
top:'top',
|
|||
|
// 底部弹出
|
|||
|
bottom:'bottom',
|
|||
|
// 居中弹出
|
|||
|
center:'center',
|
|||
|
// 消息提示
|
|||
|
message:'top',
|
|||
|
// 对话框
|
|||
|
dialog:'center',
|
|||
|
// 分享
|
|||
|
share:'bottom',
|
|||
|
}
|
|||
|
|
|||
|
export default {
|
|||
|
data(){
|
|||
|
return {
|
|||
|
config:config
|
|||
|
}
|
|||
|
},
|
|||
|
mixins: [message],
|
|||
|
}
|