From 31b992756cb0b04722093d65898e455ae11e58d6 Mon Sep 17 00:00:00 2001 From: wubin Date: Wed, 14 Aug 2024 15:08:46 +0800 Subject: [PATCH] 'commit' --- .../select-free-plate/select-free-plate.tsx | 3 -- 操作文档/13、前端相关说明.txt | 35 +++++++++++++++++++ 2 files changed, 35 insertions(+), 3 deletions(-) create mode 100644 操作文档/13、前端相关说明.txt diff --git a/MiniProgram/rzyc-weapp-ylt-main/src/pages/select-free-plate/select-free-plate.tsx b/MiniProgram/rzyc-weapp-ylt-main/src/pages/select-free-plate/select-free-plate.tsx index 91ff712..4d66d26 100644 --- a/MiniProgram/rzyc-weapp-ylt-main/src/pages/select-free-plate/select-free-plate.tsx +++ b/MiniProgram/rzyc-weapp-ylt-main/src/pages/select-free-plate/select-free-plate.tsx @@ -61,12 +61,10 @@ export const SelectFreePlate: Taro.FC = () => { setConnectorSn(''); return; } - } }; const handleSave = () => { - if (selectedCarId == 0) { showFailToast('请选择车辆或手工输入车牌号!'); return; @@ -79,7 +77,6 @@ export const SelectFreePlate: Taro.FC = () => { url: `/pages/order-detail/order-detail?isFromCharging=${true}&orderNo=${router.params.order_no}`, }); } - }; const handleInputCode = () => { diff --git a/操作文档/13、前端相关说明.txt b/操作文档/13、前端相关说明.txt new file mode 100644 index 0000000..4d050b7 --- /dev/null +++ b/操作文档/13、前端相关说明.txt @@ -0,0 +1,35 @@ +NodeJS版本:node-v14.21.3 + + +# 查询当前使用的镜像源 +npm get registry + +# 设置为淘宝镜像源 +npm config set registry https://registry.npmmirror.com/ + +# 还原为官方镜像源 +npm config set registry https://registry.npmjs.org/ + + + +# ms-manager-sass-ui-ylt-main项目 +# 需要安装marked组件 +npm install marked@5.1.2 +# 运行 +npm run dev +# 编译打包 +npm run build:prod + + +# icharge-mgr-service-ylt-main项目,端口:7026 +# 需要安装egg-validate组件 +npm install egg-validate +#运行 +npm run dev + + +# rzyc-weapp-ylt-main(小程序) +# 安装插件 +npm install @tarojs/plugin-platform-weapp +#运行 +npm run dev:weapp \ No newline at end of file