logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

vue修改网站名称和图标

在项目中找到public文件夹下面的index.html修改如下图

vue如何获取数组中数组并重组数组

获取数组中数组this.permissionList = res.data.payload.auth;// 显示问题var list=[];var lists=[];var categorystrss="";this.permissionList.fo...

vue中把string类型转换成int类型

parseInt方法var paraControl=parseInt(paraControl);

vue+elementui实现图片预览,放大图片

背景:后台系统用到图片预览功能。页面<template><div><span @click="clickImg(index)" v-for="(item,index) in extend" :key="index"><el-image:src="i...

git 拉取推送代码报错:kex_exchange_identification: Connection closed by remote hostConnection closed by 54.1

报错:kex_exchange_identification: Connection closed by remote hostConnection closed by 54.151.144.214 port 22fatal: Could not read from remote repository.Please make sure you have the correct access rig

Mac下git安装和使用

1、下载git客户端,下载地址为:https://git-scm.com/download/mac2、打开安装包,可以看到此时的界面为:3、检测有没有安装成功:git --version 。4、检查有么有key值:ls。下图是没有。5、ssh-keygen -t rsa -C "你的邮箱地址" 。一直回车默认配置就行。配置成功如图:6、查看key值:cat ...

git 拉取推送代码报错:kex_exchange_identification: Connection closed by remote hostConnection closed by 54.1

报错:kex_exchange_identification: Connection closed by remote hostConnection closed by 54.151.144.214 port 22fatal: Could not read from remote repository.Please make sure you have the correct access rig

nui-app中navigateTo跳转不了tabbar设置的页面

背景:使用nui-app框架开发项目。问题:navigateTo跳转不了tabbar设置的页面。page页面设置了"tabBar": 。报错:[system] navigateTo:fail can not navigateTo a tabbar page。解决方法:1.是page页面不设置"tabBar"。2.是请求调整页面的uni.navigateTo改成uni.swit...

vue使用axios拦截器和main.js使用element提示框

背景:后台项目用到axios拦截器。当token过期等直接跳出当前页面。// 响应拦截处理axios.interceptors.response.use(res => {switch (res.data.code) {case -1:ElementUI.Message({message: res.dat...

#elementui
input输入框输入只能输入数字、字母等组合的正则表达式

1.限制input输入框只能输入大小写字母、数字、下划线的正则表达式:<input type="text" onkeyup="this.value=this.value.replace(/[^\w_]/g,'');">2.限制input输入框只能输入小写字母、数字、下划线的正则表达式:<input type="text" onkeyup="this.value=this.valu

到底了