
简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
vue3 线上白屏,打包添加时间戳
1、public文件夹下index.html添加。

如果后端放回的是文件流那么正常请求拿到的就会是一堆乱码:这时候就要设置一下接受的格式了,给axios加上responseType: “blob”取到的就是一个file格式再用一个 blob去接var blob = new Blob([res.data], { type: "imageType" });就会变成这样在转成链接var image = (window.URL || window.webk
uniapp内置了vueX,不用自己安装,直接引入就好了。nuiapp内置vueX文档说明1、新建 store 文件夹,创建index.js文件// store/index.jsimport Vue from 'vue'import Vuex from 'vuex'Vue.use(Vuex);//vue的插件机制//Vuex.Store 构造器选项const store = new Vuex.St
vue页面引入:html页面:<title>上传文件</title><body style="position: fixed; top: 300px; left: 47%;"><div class="head-btn"><form action="" method="post">...
因为uniapp不支持 input type=“file”,所以需要创建html文件 用web-view标签引入首先在项目内创建hybrid目录,在hybrid下创建html文件(因为在hybrid下的文件不会被uniapp编译,所以可以使用原生js)完整代码:<!DOCTYPE html><html><head><meta chars...







