node.js - express执行mysql删除语句后,刷新页面不更新
黄舟
黄舟 2017-04-17 14:58:01
0
2
863

mysql.query('delete from cm_company where com_id = ' + com_id,function(err,rows, fields){
if(err) throw err;
res.location('/comManage');

返回页面后不更新数据。(删掉的数据还显示)
黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(2)
PHPzhong

Force to request the list page once. Force refresh. . .

Ty80

Clear cache

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template