logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

node.js之封装接口

在server.js中封装所需的方法小例子(实现登录接口),这个接口里面使用了db.js中的findOne,insertOne,updateOne方法,综合性较强const md5 = require("md5");app.post("/login",async (req,res)=>{try{//接收用户账号和密码用于登录const {adminName,passWord} = req.b

#mongodb
vue : 无法加载文件 C:\Users\EDZ\AppData\Roaming\npm\vue.ps1,因为在此系统上禁止运行脚本。有 关详细信息,请参阅 https:/go.microsoft

今天在使用vue创建项目时出现了下面这段报错解决方法如下找到Windows PowerShell以管理员的身份打开输入set-ExecutionPolicy RemoteSigned然后输入A 或Y即可

vue create is a Vue CLI 3 only command and you are using Vue CLI 2.9.6. You may want to run the fo

最近使用vue框架发现出现如下问题vue create is a Vue CLI 3 only command and you are using Vue CLI 2.9.6.You may want to run the following to upgrade to Vue CLI 3:这是应为vue的版本存在更新,需要先卸载vue cli2,然后重新安装vue cli 31、首先我们需要卸载

Cannot find module 'babel-plugin-import'报错的解决方法

出现如下情况说明axios所需的插件没有装上安装npm install axios qs --savenpm install antd babel-plugin-import --save最后问题成功解决

Can‘t find Python executable “ python“, you can set the PYTHON env variable

Can't find Python executable " python", you can set the PYTHON env variable意思为找不到Python可执行文件“Python”,可以设置Python的env变量吗解决办法:安装windows-build-toolsnpm install --global --production windows-build-tools如果输

#vue.js
到底了