上一页 1 2 3 4 5 6 7 ··· 42 下一页
摘要: 一.安装git: 1.安装: yum install -y git 2.查看版本: git version 二.安装node: 方案一:(推荐) 安装Node.js版本管理器 (宝塔) 方案二: yum方式安装 yum install nodejs 安装后是老版本 方案三:wget yum inst 阅读全文
posted @ 2021-12-11 13:32 土豆哥 阅读(551) 评论(1) 推荐(0) 编辑
摘要: 1.适用组件: 导入,注册组件,然后使用 <DragTransfer v-model="rightData" leftTitle="未选择字段" rightTitle="已选择字段" :props="transferProps" :data="data" ></DragTransfer> 参数解释: 阅读全文
posted @ 2021-11-02 09:15 土豆哥 阅读(1830) 评论(0) 推荐(0) 编辑
摘要: 生产环境配置: 1.压缩代码: // 代码压缩uglifyjs-webpack-plugin 2.压缩js compression-webpack-plugin 3.压缩css compression-webpack-plugin 4.压缩图片 image-webpack-loader 5.去除co 阅读全文
posted @ 2021-10-28 00:53 土豆哥 阅读(356) 评论(0) 推荐(0) 编辑
摘要: 浏览器版本: 一.现象: 解决方案: 方案一:(已论证) 步骤1: 谷歌浏览器 打开 chrome://flags/#block-insecure-private-network-requests步骤2 : 找到 Block insecure private network requests. 设置 阅读全文
posted @ 2021-10-10 13:44 土豆哥 阅读(15981) 评论(0) 推荐(0) 编辑
摘要: 一.后端: @Log("导出excel") @ApiOperation(value = "查询LawCaseCollectMain") @GetMapping(value = "/lawCaseCollectMain/download") public void download(HttpServl 阅读全文
posted @ 2021-09-22 18:14 土豆哥 阅读(776) 评论(1) 推荐(0) 编辑
摘要: 一.问题: 遵守vue组件规范,vue的命名都是index.vue,但是当组件过多活着父子关系比较紧密,就会出问题。 二.解决方案: 在vue.config.js中配置调试: 1.configureWebpack节点下配置 devtool: process.env.NODE_ENV 'dev' ? 阅读全文
posted @ 2021-09-18 11:20 土豆哥 阅读(1474) 评论(0) 推荐(0) 编辑
摘要: 插件官网地址:https://hhyang.cn/v2/start/quickstart.html 一.安装路由插件: npm install uni-simple-router 二.配置路由: 1.编写路由代码: // src/router/index.js import {RouterMount 阅读全文
posted @ 2021-09-16 09:37 土豆哥 阅读(1748) 评论(3) 推荐(0) 编辑
摘要: uniapp原生插件开发及打包发布 一.下载unipp提供的sdk包: 官方链接:https://nativesupport.dcloud.net.cn/AppDocs/usesdk/android 二.开发原生插件: 1.创建android空项目: 2.创建Module模块: 3.配置libs: 阅读全文
posted @ 2021-09-10 09:05 土豆哥 阅读(3635) 评论(0) 推荐(1) 编辑
摘要: //系统错误捕获 const errorHandler = (error, vm) => { console.error('抛出全局异常'); request({ method: 'post', url: 'api/index/errorLogCollect', data: { k: getCook 阅读全文
posted @ 2021-08-13 19:50 土豆哥 阅读(935) 评论(0) 推荐(0) 编辑
摘要: axios 重新发起请求,一般用于重新发起请求 1.切换域名重试: const response = error.response const config = response.config config.baseURL = api_2 console.log('err', error) retu 阅读全文
posted @ 2021-08-12 18:45 土豆哥 阅读(1980) 评论(0) 推荐(1) 编辑
上一页 1 2 3 4 5 6 7 ··· 42 下一页