Package Exports
- v-layer
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (v-layer) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
A Plugin For Vue.js
1.使用场景
仅为移动端适配
2.引入方法
import Layer from 'v-layer'
Vue.use(Layer)3.使用模式
1.询问模式

this.$confirm({
title: '提示标题头',
msg: '中间消息文案',
sureTXT: '确认按钮文案',
cancleTXT: '取消按钮文案'
}).then((res) => {
console.info('点击确定按钮')
})
}).catch((err) => {
console.info('点击取消按钮')
})2.提示模式

this.$alert({
title: '提示标题头',
msg: '中间消息文案',
sureTXT: '确认按钮文案'
}).then((res) => {
console.info('点击确定按钮')
})
}).catch((err) => {
console.info('点击取消按钮')
})License
Copyright (c) 2018-present, Yejunnan (Liu) You
