摘要:
async function doSubmitFile() { const fileInput = document.getElementById('fileInput') const fileObj = fileInput.files[0] const formData = new FormDat 阅读全文
摘要:
<template> <el-row justify="space-between"> <input type="file" id="fileInput"/> <el-button type="success" @click="doSumbitFile">上传</el-button> </el-ro 阅读全文
摘要:
1.区别 for in for of 数组(列表) 输出下标 输出元素 Object(字典) 输出键 报错(因为没有实现iterable接口) 数组Object 先是数组规则 再是Object规则 2.python中循环字典拿到的是键 3.v-for中in和of(详见) https://blog.c 阅读全文
摘要:
import * as XLSX from "xlsx"; onMounted( function () { document.getElementById('fileInput').addEventListener('change', function () { const fileObj = t 阅读全文