diff --git a/api/utils/xlsxDownload.js b/api/utils/xlsxDownload.js index 61c68e0c..a8dc0c2f 100644 --- a/api/utils/xlsxDownload.js +++ b/api/utils/xlsxDownload.js @@ -63,7 +63,7 @@ async function simpleExcelDown ({ data = [], header = [], fileName = moment().fo let type = data[i][h.key] if (type == 'road') { cell.value = '道路' - } else if (type == 'birdge') { + } else if (type == 'bridge') { cell.value = '桥梁' } else if (type == 'culvert') { cell.value = '涵洞' diff --git a/web/package.json b/web/package.json index b8aaf86a..7cd3d607 100644 --- a/web/package.json +++ b/web/package.json @@ -6,7 +6,7 @@ "scripts": { "test": "mocha", "start": "cross-env NODE_ENV=development npm run start-params", - "start-params": "node server -p 5000 -u http://localhost:4000 --qndmn http://rfkimpwbb.hn-bkt.clouddn.com", + "start-params": "node server -p 5000 -u http://localhost:14000 --qndmn http://rfkimpwbb.hn-bkt.clouddn.com", "deploy": "export NODE_ENV=production&&npm run color && npm run build && node server", "build-dev": "export NODE_ENV=development&&webpack --config webpack.config.js", "build": "export NODE_ENV=production&&webpack --config webpack.config.prod.js",