![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
前端
山岫
知易行难,行胜于言
展开
-
video截取视频第一帧作为播放前默认图片
video截取视频第一帧作为播放前默认图片原创 2022-12-28 16:11:48 · 2260 阅读 · 4 评论 -
axios的get,post传参失败
解决方法:设置请求头 headers: { "Content-type": "application/json;charset=UTF-8", },一、axiosget请求: //axios GET请求添加数据 方法一: this.axios({ method: "get", url: "/houtai/book/add", headers: {原创 2022-04-14 17:12:18 · 1402 阅读 · 0 评论 -
Vuetify 表格如何显示图片
使用动态插槽 item.<name> 来自定义某些列。 <name> 是传给 headers 的某一表头数据项的 value 属性的值。 所以要自定义 img 列,我们要使用 item.img 插槽。<template v-slot:item.img="{ item }"> <v-img :src="item.img" width="40px"></v-img></template>附上全部代码:<原创 2022-04-09 17:45:24 · 407 阅读 · 0 评论 -
Vue项目中axios解决跨域问题
一、【config/index.js文件中的proxyTable配置跨域请求参数】proxyTable:跨域代理中转服务器服务pathRewrite:可以理解为一个重定向或者重新赋值的功能。proxyTable配置解释:https://www.cnblogs.com/wang715100018066/p/10616984.htmlhttps://www.cnblogs.com/wang715100018066/p/10616984.htmldev: { // Path...原创 2022-03-03 16:02:32 · 951 阅读 · 0 评论 -
mui 选项卡tab页实现区域滚动,Ajax函数渲染数据(选项卡+scroll滚动+折叠面板)
效果图预览一、HTML<!DOCTYPE html><html> <head> <meta charset="utf-8"> <title>news</title> <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" /&原创 2022-03-03 14:55:52 · 1056 阅读 · 0 评论