forked from ccsens_fe/tall-mui-3
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
410 B
24 lines
410 B
4 years ago
|
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],
|
||
|
};
|