04 2021 档案
摘要:一、upload的使用 <Upload :action="importParameterExcel" :format="['xlsx','xls','XLS','XLSX']" ref="upload" name="excelFile" //请求接口的参数的名字 :headers="uploadHe
阅读全文
摘要:performance.navigation.type(该属性返回一个整数值,表示网页的加载来源,可能有以下4种情况): 0:网页通过点击链接、地址栏输入、表单提交、脚本操作等方式加载,相当于常数performance.navigation.TYPE_NAVIGATE。 1:网页通过“重新加载”按钮
阅读全文
摘要:let routeData = this.$router.resolve({ path: '/home', query: { id: 1 } }); window.open(routeData.href, '_blank');
阅读全文