@@ -40,26 +40,26 @@ export const MsgError = (message: string) => {
4040
4141/**
4242 * 删除知识库
43- * @param 参数 message: {title, decription ,type}
43+ * @param 参数 message: {title, description ,type}
4444 */
4545
46- export const MsgConfirm = ( title : string , decription : string , options ?: any ) => {
46+ export const MsgConfirm = ( title : string , description : string , options ?: any ) => {
4747 const defaultOptions : Object = {
4848 showCancelButton : true ,
4949 confirmButtonText : '确定' ,
5050 cancelButtonText : '取消' ,
5151 ...options
5252 }
53- return ElMessageBox . confirm ( decription , title , defaultOptions )
53+ return ElMessageBox . confirm ( description , title , defaultOptions )
5454}
5555
56- // export const MsgConfirm = ({ title, decription }: any, options?: any) => {
56+ // export const MsgConfirm = ({ title, description }: any, options?: any) => {
5757// const message: any = h('div', { class: 'app-confirm' }, [
5858// h('h4', { class: 'app-confirm-title flex align-center' }, [
5959// h(ElIcon, { class: 'icon' }, [h(WarningFilled)]),
6060// h('span', { class: 'ml-16' }, title)
6161// ]),
62- // h('div', { class: 'app-confirm-decription mt-8' }, decription )
62+ // h('div', { class: 'app-confirm-description mt-8' }, description )
6363// ])
6464
6565// const defaultOptions: Object = {
0 commit comments