报错: vue报这个错 [Intervention] Ignored attempt to cancel a touchmove event with cancelable=false, for example because scrolling is in progress and cannot be interrupted 方案1:使用css3 touch-action: none; 属性: touch-action :当你触摸并按住触摸目标时候,禁止或显示系统默认菜单. touch-act…
字面意思大概就是: [干预]忽略尝试取消带有cancelable = false的touchmove事件的尝试,例如,因为滚动正在进行并且无法中断. 解决方法: 1.添加样式更改 将滑动报错的标签样式添加: touch-action: none; 或者设置全局公共样式: *{touch-action: none;} touch-action :当你触摸并按住触摸目标时候,禁止或显示系统默认菜单. touch-action有两种取值:none:系统默认菜单被禁用 default:系统默认菜单不被禁…
在vue开发中使用vue-awesome-swiper制作轮播图,手动拖动时会报错,解决方案: 需要滑动的标签 { touch-action: none; } -------------------------------------------------------------- touch-action:none touch-action :当你触摸并按住触摸目标时候,禁止或显示系统默认菜单. touch-action取值有一下两种 none:系统默认菜单被禁用 default:系统默认菜…
Vue+Typescript中在Vue上挂载axios使用时报错 在vue项目开发过程中,为了方便在各个组件中调用axios,我们通常会在入口文件将axios挂载到vue原型身上,如下: main.ts import Vue from 'vue' import axios from './utils/http' Vue.prototype.$axios = axios; 这样的话,我们在各个组件中进行请求时,就可以直接使用this.$axios,但是在ts中使用this.$axios进行请求时,…
学习表视图(Table View)的应用时,自己写了个demo,最后表格出来了,可是滑动时报错了,报错如下: 这是我ViewController.m部分的代码: #import "ViewController.h" @interface ViewController () @end @implementation ViewController { NSArray *tableData; } - (void)viewDidLoad { [super viewDidLoad]; // Do…
执行mvn clean package spring-boot:repackage,报错如下: [ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:1.5.3.RELEASE:repackage (default) on project webapps-api-bid: Execution default of goal org.springframework.boot:spring-b…
1.vue的安装依赖于node.js,要确保你的计算机上已安装过node.js.    可进入cmd编辑器,输入命令 node -v进行查看.出现版本信息即成功!没有则从浏览器上面下载安装即可,没有安装要求! 2.确定node安装后,就可以开始vue的安装了.用$ npm install -g vue-cli进行安装,输入vue -V,出现版本信息即成功! 3.建一个Vue项目,建立在c盘外,,别盘进行建立! 4.如图安装中途出现的问题:1.在cmd里输入:vue init webpack my…
用户操作swiper之后,是否禁止autoplay.默认为true:停止.如果设置为false,用户操作swiper之后自动切换不会停止,每次都会重新启动autoplay.操作包括触碰,拖动,点击pagination等. Swiper3.x <script> var mySwiper = new Swiper('.swiper-container',{ autoplay : , autoplayDisableOnInteraction : false, // 用户操作swiper之后,是否禁止…
出错情况,如下图: 报错原因: listen EADDRINUSE :::8002 意思是当前8002端口被占用 解决办法: 一:简单粗暴:关掉可能影响的相关程序,重新执行启动. 二: 1.Win+R,cmd查询使用的端口号是否被占用: 输入命令:netstat -aon|findstr "8002" 按回车显示占用8080端口对应的程序的PID号:如下图: 2.根据PID号找到对应的程序: 输入命令:tasklist|findstr "12452" 按回车后显示出…
经查,此问题由端口占用导致,node服务器默认端口8080已被其他程序占用,关闭占用端口的程序或者修改node服务器的默认端口即可解决此问题…