找半天网上都是CV战士,没一个会用的 const win = require('node-windows') win.elevate(`cmd /c time ${'11:01:12'}`,undefined, null); 测试有效