wiki 工程重构
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import { h } from 'vue'
|
||||
import { ElMessage } from 'element-plus'
|
||||
|
||||
const setErrorMessage = (msg: string) => {
|
||||
ElMessage({
|
||||
message: h('p', null, [
|
||||
h('i', { style: 'color: teal' }, msg),
|
||||
]),
|
||||
})
|
||||
}
|
||||
|
||||
export { setErrorMessage }
|
||||
Reference in New Issue
Block a user