1
This commit is contained in:
+1
-3
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user