Commit 3a7a1ff8 authored by ZSkycat's avatar ZSkycat Committed by Jikkai Xiao

Tree & MessageBox: fix type definition (#12214)

* MessageBox: fix ElMessageBoxOptions.message

* Tree: fix type definition
parent 7f2510f0
import Vue from 'vue'
import Vue, { VNode } from 'vue'
import { MessageType } from './message'
export type MessageBoxCloseAction = 'confirm' | 'cancel' | 'close'
......@@ -47,7 +47,7 @@ export interface ElMessageBoxOptions {
title?: string
/** Content of the MessageBox */
message?: string
message?: string | VNode
/** Message type, used for icon display */
type?: MessageType
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment