摘要: 1.路由跳转及传参 import { withRouter, RouteComponentProps } from 'react-router'; class ReplenishmentOrder extends Component< TProps & RouteComponentProps, TS 阅读全文
posted @ 2023-08-18 14:24 丶乔 阅读(29) 评论(0) 推荐(0)
摘要: request import axios from 'axios' import { MessageBox, Message } from 'element-ui' import store from '@/store' import { getToken, getzyToken } from '@ 阅读全文
posted @ 2023-08-18 14:03 丶乔 阅读(27) 评论(0) 推荐(0)
摘要: //需要项目后台提供上传接口uploadFile 下载接口FILE_URL: Object.defineProperties(Vue.prototype, { FILE_URL: { value: function (fileId) { if (!fileId) { return } return 阅读全文
posted @ 2023-08-18 12:08 丶乔 阅读(164) 评论(0) 推荐(0)
摘要: 源码 <template> <div class="c__filter" :style="`height: ${showFilter ? 'auto' : '47px'}`" v-if="filterNum > 0" ref="tableFilter" > <div class="c_filter_ 阅读全文
posted @ 2023-08-18 11:59 丶乔 阅读(148) 评论(0) 推荐(0)
摘要: 1.uniapp https://ask.dcloud.net.cn/article/36286 1.1request ********url文件************** // 开发环境 const dev = "wxapp.chuntaoyisheng.com/"; // 测试环境 const 阅读全文
posted @ 2023-08-18 11:53 丶乔 阅读(300) 评论(0) 推荐(0)
摘要: 1.本地代理 uni编写的h5为例 //例 devServer: { proxy: { '/API': { // 定义代理的名称 changeOrigin: true, // 是否启动代理 target: 'http://xijipan.dev.grdoc.org', // 代理的域名 pathRe 阅读全文
posted @ 2023-08-18 11:52 丶乔 阅读(53) 评论(0) 推荐(0)
摘要: <template> <div> <div class="video"> <video></video> </div> </div> </template> <script> export default { mounted() { this.playVideo() }, methods: { pl 阅读全文
posted @ 2023-08-18 11:50 丶乔 阅读(94) 评论(0) 推荐(0)