this.$modal.input()如何像windows.prompt("请输入用户名", "")传参?
wyh110536 opened this issue · 3 comments
wyh110536 commented
this.$modal.input()如何像windows.prompt("请输入用户名", "")传参?
shaodahong commented
为什么要传参
wyh110536 commented
我想把title, text传进去
shaodahong commented
那你直接
this.$modal.input({
title:'标题',
text:'内容',
})
就行了