angular 11
文章平均质量分 63
小两
笔记而已
展开
-
前端axios上传图片,php接收图片失败问题
发生场景:前端调用一次接口 但是后台添加接口 被调用2次添加。OPTIONS请求执行了一次程序;然后post也执行了一次程序;前端使用:angular, NG-ZORRO 的 nz-upload 插件后台使用:thinkphp5报错信息Access to XMLHttpRequest at 'http://127.0.0.1:8080/public/index.php/install/Userapi/uploadImg' from origin 'http://localh..原创 2021-09-20 17:31:00 · 350 阅读 · 0 评论 -
angular 11 --- ng generate记录 以及 has no exported member ‘NgZorroAntdModule‘ 解决方案
话不多说,先上package.json,以下是我软件的版本号{ "name": "project-name", "version": "0.0.0", "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e" }, "private": true,原创 2021-02-24 23:24:54 · 3855 阅读 · 1 评论