之前cool_admin 作废

倚楼听风雨 7f96e5dc99 修改README il y a 3 ans
cool-admin-midway-master a6615e452a 10.16 il y a 3 ans
cool-admin-vue-vue3-ts-vite e863eaa681 10.17 il y a 3 ans
.gitignore 57415ec34c 第一次提交 il y a 3 ans
README.md 7f96e5dc99 修改README il y a 3 ans

README.md

cool-admin-3.x

介绍

前后端安装项目依赖

推荐使用 yarn

yarn

解决 node-sass 网络慢的方法:

yarn config set sass-binary-site http://npm.taobao.org/mirrors/node-sass

后端需要单独安装依赖 axios、node-xlsx

  • cd /home/cool/server
  • npm i axios
  • npm install node-xlsx --save

运行应用程序

yarn dev

表编码格式不一致导致报错解决办法

  • SHOW CREATE TABLE shuyou_rent_computer_usage;
  • ALTER TABLE shuyou_rent_computer_usage DEFAULT CHARACTER SET utf8mb4 COLLATE=utf8mb4_general_ci;
  • ALTER TABLE shuyou_rent_computer_usage CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;