var datavalue='测试202109';//文本传入数据
Ext.Msg.show({
title:'标题',
msg:'说明',
width:600,
height:500,
prompt:true,
multiline:200,
closable:true,
modal:true,
progress: false,
value:datavalue,
buttons: Ext.Msg.OKCANCEL,
buttonText: {ok:'确认',cancel:'取消'},
fn: function(btn,text) {//text文本编辑数据
if (btn === 'ok') {
alert(text);
} else {
}
}
});