This commit is contained in:
simple321vip
2023-07-12 21:06:37 +08:00
parent c086b91c1f
commit 4058cf584c
3 changed files with 43 additions and 28 deletions
+1 -3
View File
@@ -1,12 +1,10 @@
import { h } from 'vue'
import { ElMessage } from 'element-plus'
const setErrorMessage = (msg: string) => {
export const setErrorMessage = (msg: string) => {
ElMessage({
message: h('p', null, [
h('i', { style: 'color: teal' }, msg),
]),
})
}
export { setErrorMessage }