純js頁面純js頁面純js頁面http://element-cn.eleme.io/#/...在純js頁面使用這個(gè)組件,彈出兩個(gè)input輸入框,獲取輸入的值我的代碼import { MessageBox } from 'element-ui'MessageBox('請(qǐng)輸入郵箱', '提示', {
showInput: true,
inputValue: 'haha',
confirmButtonText: '確定',
cancelButtonText: '取消',
inputPattern: /[\w!#$%&'* /=?^_{|}~-] (?:\.[\w!#$%&'* /=?^_{|}~-] )*@(?:\w?.) \w?/,inputErrorMessage: '郵箱格式不正確'}).then(({ value }) => {console.log(value)
}).catch(() => {
})
}但這樣input框出不來,
懸賞20元,找人幫解決在純js頁面使用elementUI彈出兩個(gè)輸入框的問題
慕桂英4014372
2018-10-23 22:21:08