logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

vue 自定义打印CLodop

1.新建一个js文件,引入LoddpFuncs.js,官网也有,如下:var CreatedOKLodop7766=null;//====判断是否需要安装CLodop云打印服务器:====export function needCLodop(){try{var ua=navigator.userAgent;if (ua.match(/Win...

html+css实现纵向组织架构图

【代码】html+css实现纵向组织架构图。

文章图片
#css#html#前端
video 去掉画中画和下载功能

controlsList="nodownload"disablePictureInPicture

html中的input type="file" 上传元素隐藏,并通过其它方式触发点击上传

html:<label><input type="file" onchange="upload(this.files)" style="left:-9999px;position:absolute;" /><span style="color: #29b6f6">上传</span>...

input 内容输入完才触发的事件

var flag = true;$('#id').on('compositionstart',function(){flag = false;})$('#id').on('compositionend',function(){flag = true;})...

vue element 提交后打开弹窗有红色校验提示

this.$nextTick(()=>{this.$refs[formName].clearValidate();})提交后清空校验规则:划重点,一定要写在 this.$nextTick方法里,不然不会生效

vue , 进入页面判断是否有权限,无权限进入登录

1.router.js{path: '/deliver', //发货component: (resolve) => require(['../components/pages/deliver'], resolve),meta: {requiresAuth:true,keepAlive: true,}...

vue 父子组件传值及不生效问题

1.父组件<!--顶部--><topHead :parent="testdata" v-if="testdata.length>0"></topHead>data() {return {testdata:[],}}methods: {//获取信息getBannerList(){getHone().then(response => {this.test

vue 使用腾讯地图获取坐标,亲测有效

1.先获取腾讯地图的key:https://lbs.qq.com/2.//先在vue的index.html里面引入腾讯地图包<script charset="utf-8" src="https://map.qq.com/api/js?v=2.exp&key=yourkey"></script>//.vue<template>&l...

    共 20 条
  • 1
  • 2
  • 请选择