摘要:
首先在公用方法中写入下面的方法,我这里是src/utils/index.js export function parse_xml(content) { let xml_doc = null try { xml_doc = (new DOMParser()).parseFromString(conte 阅读全文
摘要:
el-upload加header <template> <el-upload action="test" :headers="myHeaders"></el-upload> </template> <script> var token = localStorage.getItem('token') 阅读全文