<el-upload :headers="uploadHeaders" :data ="{hotelId:hotelID}"</el-upload> data(){ return { uploadHeaders:{Authorization: 'bearer ' + getToken()} } }
el-upload的headers怎么写 使用对象的形式,传给headers 就可以了。 :headers="{Authorization: ''}" <el-upload action="" list-type="picture-card" :headers="{Authorization: ''}" name="photo" :on-preview="handlePictureCardPreview" :on-remove="handleRemove"> </el-upload>...
百度爱采购为您找到2家最新的el-upload组件headers产品的详细参数、实时报价、行情走势、优质商品批发/供应信息,您还可以免费查询、发布询价信息等。