mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-25 11:06:36 +08:00
563 B
563 B
layout |
---|
templateLayout |
<template>
<Wb-button @click="click3">alert模式</Wb-button>
<Wb-button @click="click4">confirm模式</Wb-button>
</template>
<script>
export default {
methods: {
click3 () {
this.$Message.alert("标题", "我是提示").then(function (index) {
console.log(index)
})
},
click4 () {
this.$Message.confirm("标题", "我是提示").then(function (index) {
console.log(index)
})
},
}
}
</script>