var openWeb =function(url){ const exec = require(‘child_process‘).exec; exec(‘start /max "" "‘+url + ‘"‘); return false; }
点击事件,输入一个url地址;
时间: 2024-10-06 16:43:17
var openWeb =function(url){ const exec = require(‘child_process‘).exec; exec(‘start /max "" "‘+url + ‘"‘); return false; }
点击事件,输入一个url地址;