打赏

随笔分类 -  web前端

node api demo
摘要:1.package.json { "name": "node-api", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\ 阅读全文

posted @ 2022-11-08 16:55 jlyuan 阅读(25) 评论(0) 推荐(0) 编辑

前端docx文件阅览
摘要:1. 下载 npm install docx-preview -S 2. <el-button @click="lookDocx">文件阅览</el-button> <div class="docWrap"> <div ref="file"></div> </div> import axios fr 阅读全文

posted @ 2022-10-28 16:48 jlyuan 阅读(79) 评论(0) 推荐(0) 编辑

echarts实现贵州地图
摘要:1. 添加标签 <div id="elementId" class="guizhou-map" style="width: 600px; height: 400px" ></div> 2. import * as echarts from "echarts"; import mapGeoJson f 阅读全文

posted @ 2022-10-27 16:07 jlyuan 阅读(229) 评论(0) 推荐(0) 编辑

echarts 基础图形使用
摘要:1. 安装 npm install echarts --save2. 定义标签容器 <div id="main" style="width: 600px; height: 400px"></div> 3. 引入 import * as echarts from "echarts"; 4. 柱状图 i 阅读全文

posted @ 2022-10-27 10:26 jlyuan 阅读(31) 评论(0) 推荐(0) 编辑

gulp 构建 demo
摘要:安装包 1. cnpm install gulp-concat gulp-uglify gulp-rename gulp-clean-css gulp-htmlmin-S 2. cnpm install gulp-livereload gulp-connect -S 代码目录结构 gulpfile. 阅读全文

posted @ 2020-07-04 14:46 jlyuan 阅读(228) 评论(0) 推荐(0) 编辑

axios 简单二次封装
摘要:import axios from 'axios' import { Message } from 'element-ui'; // 设置baseURL //axios.defaults.baseURL = '/api' //设置默认请求头 axios.defaults.headers = { 'X 阅读全文

posted @ 2019-11-03 23:53 jlyuan 阅读(306) 评论(0) 推荐(0) 编辑

async/await 处理多个网络请求同步问题
摘要:多个网络请求同步问题 阅读全文

posted @ 2019-10-23 23:42 jlyuan 阅读(5884) 评论(0) 推荐(0) 编辑

axiso基本使用及python接收处理
摘要:安装$ npm install axios 1.发送get请求: axios.get("/api/v1.0/cars?id=132").then(function(res){ console.log(res) }).catch(function(err){ console.log(err) }); 阅读全文

posted @ 2019-09-13 16:35 jlyuan 阅读(1658) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

  • 随笔 - 52
  • 文章 - 1
  • 评论 - 1
  • 阅读 - 61911
点击右上角即可分享
微信分享提示