随笔分类 -  Vue

摘要:1.环境安装 //nodejs环境 //npm install axios 2.axios发送get请求 const axios = require('axios') const url = "xxx.xxx.xxx"; const headers = {} axios.get(url, {head 阅读全文
posted @ 2024-01-11 14:25 o小兵o 阅读(581) 评论(0) 推荐(0) 编辑
摘要:1.新建目录demo然后在当前目录下打开cmd窗口执行npm init 一直回车,执行结束该目录下出现一个package.json 2.node环境自行安装,需要依赖如下 * npm add express * npm add nodemon * npm install -g axios --reg 阅读全文
posted @ 2024-01-11 11:40 o小兵o 阅读(95) 评论(0) 推荐(0) 编辑
摘要:1、无法识别工具版本“2.0”。可用工具版本“4.0” npm config set msvs_version 2015 --global 2、Error : ENOENT : no such file or directory , ... vender' npm rebuild node-sass 阅读全文
posted @ 2022-11-16 14:16 o小兵o 阅读(60) 评论(0) 推荐(0) 编辑
摘要:1、提前安装一下python-2.7.15.amd64并配置环境变量 2、建议不要安装最新的nodejs版本,鼓捣了两天一直安装卸载nodejs,最后记录一下安装成功的版本 C:\Users\Administrator>node -v v14.0.0 C:\Users\Administrator>n 阅读全文
posted @ 2022-11-16 14:11 o小兵o 阅读(565) 评论(0) 推荐(0) 编辑
摘要:1、第一步:安装node.js 地址:node的官方地址下载长期维护版本。可以自定义安装然后一直下一步,安装完成! C:\Users\Administrator>node -v v18.12.1 //检测node的版本 C:\Users\Administrator>npm -v 8.19.2 //检 阅读全文
posted @ 2022-11-14 11:15 o小兵o 阅读(1511) 评论(0) 推荐(0) 编辑
摘要:一、概述 Sortable.js Sortable.js是一款优秀的js拖拽库,支持ie9及以上版本ie浏览器和现代浏览器,也可以运行在移动触摸设备中。不依赖jQuery。支持 Meteor、AngularJS、React、Vue、Knockout框架和任何CSS库,如Bootstrap、Eleme 阅读全文
posted @ 2022-06-15 10:37 o小兵o 阅读(5214) 评论(0) 推荐(1) 编辑
摘要:1.模块安装 npm install crypto-js 2.新建插件secret.js import CryptoJS from 'crypto-js' // 默认的 KEY 与 iv 如果没有给 const KEY = CryptoJS.enc.Utf8.parse("1234567890123 阅读全文
posted @ 2022-01-11 17:04 o小兵o 阅读(4430) 评论(0) 推荐(0) 编辑
摘要:废话不多说上代码: <template> <el-table v-if="tableData.length > 0" :data="tableData" max-height="100%" style="width: 100%" :header-cell-style="{ background: ' 阅读全文
posted @ 2021-12-21 11:26 o小兵o 阅读(687) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示