前后端不分离,注释的代码影响程序的运行
解决:删除注释掉的代码即可
//领料条形码表格
// table.render({
// elem: '#demo'
// ,height: 312
// ,url: '/demo/table/user.json' //数据接口
// ,page: true //开启分页
// ,cols: [[ //表头
// {field: 'ind', title: '序号', width:80, sort: true, fixed: 'left'}
// ,{field: 'barcode', title: '条形码', width:80}
// ,{field: 'oper', title: '操作', width:80 }
// ]]
// });