logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

axios get本地json文件 404

在windows中代码如下:this.$axios.get(path + "/static/data/software.json").then((res) => {// 使用get请求获取到static目录下的 json文件的数据.......});windows中是用绝对路径访问的json文件,能正常访问。但是将代码移植到ubuntu平台,这样的写法会报错:Uncaught (in pro

#node.js#javascript#vue.js
element el-carousel轮播图的使用笔记

轮播图有多种样式,这里只选取使用了一种,有需要可以访问官网查看其他样式。效果图:官网demo:// 这里使用了官网提供的demo<template><el-carousel :interval="4000" type="card" height="200px"><el-carousel-item v-for="item in 6" :key="item">&lt

#javascript#html
input file 获取上传文件真实路径和文件名

本人是在vue项目上使用,如有不同情况请自行调整。1.样例代码代码如下(示例):<divclass="add-file-right"style="height: 70px; margin-left: 100px; margin-top: 15px"><div class="add-file-right-img" style="margin-left: 70px">上传文件:

#vue.js#html5#javascript
暂无文章信息