2019-11-22 领域—测试 js模拟输入 1234567891011window.___inputValue = function (dom, st) { var evt = new InputEvent('input', { inputType: 'insertText', data: st, dataTransfer: null, isComposing: false }); dom.value = st; dom.dispatchEvent(evt);}window.___inputValue(xxx, 'aa'); Newer 每日leetcode-115 Older Windows-to-go安装&与time-Machine共存