mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-16 02:11:48 +08:00
e97fe719c4
- Update button's type in examples per changes for button
18 lines
344 B
Vue
18 lines
344 B
Vue
<template>
|
|
<el-button text @click="open">Click to open Message Box</el-button>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { ElMessageBox } from 'element-plus'
|
|
|
|
const open = () => {
|
|
ElMessageBox.alert(
|
|
'<strong>proxy is <i>HTML</i> string</strong>',
|
|
'HTML String',
|
|
{
|
|
dangerouslyUseHTMLString: true,
|
|
}
|
|
)
|
|
}
|
|
</script>
|