Vue 使用fetch實現上傳功能

import Vue from 'vue'; import { Message } from 'iView'; /** * * @param {*} url * @param {*} data * @param {string} method */ function ajax( url, data, method) { var p = new Promise( function ( resolve
相關文章
相關標籤/搜索