码迷,mamicode.com
首页 >  
搜索关键字:mginx location    ( 8134个结果
重复点击菜单。路由重复被点击时报错
在router中加入 const originalPush = VueRouter.prototype.push VueRouter.prototype.push = function push (location) { return originalPush.call(this, location ...
分类:其他好文   时间:2021-07-12 18:19:36    阅读次数:0
解决重复点击路由报错的问题NavigationDuplicated:Avoided redundant navigation to current location:
在vue项目中,当再次点击当前看路由时,会在控制台报如下警告: Avoided redundant navigation to current location:"/xxx/xxx" 解决方法: 在router.js中添加如下代码 import Vue from 'vue' import Route ...
分类:其他好文   时间:2021-07-01 17:14:17    阅读次数:0
后端API多节点集群部署
一.多节点启动 节点1:1.117.173.54:8080 节点2:1.117.173.54:8088 二.配置nginx集群访问 在server结点上方添加 upstream lbs { server 1.117.173.54:8080; server 1.117.173.54:8088; 在se ...
分类:Windows程序   时间:2021-07-01 17:08:31    阅读次数:0
a标签刷新当前页面
<a href="javascript:location.reload();">刷新页面</a> ...
分类:其他好文   时间:2021-07-01 16:37:56    阅读次数:0
kingbaseES R6 集群手工切换案例
1、当前集群状态 [kingbase@ECOLABAPP37 bin]$ ./repmgr cluster show ID | Name | Role | Status | Upstream | Location | Priority | Timeline | Connection string + ...
分类:其他好文   时间:2021-07-01 16:27:49    阅读次数:0
运行jar包时指定端口,限制内存,指定配置文件
jar包启动指定端口:java -jar xxx.jar --server.port=9090 jar包启动时指定内存:java -jar -Xmx128m -Xms128m aa.jar 运行时指定配置文件:java -jar aa.jar --Dspring.config.location=ap ...
分类:编程语言   时间:2021-06-29 16:09:37    阅读次数:0
[转] nginx关于root与alias的区别
结论 配置demo: location xxx { root yyy } 浏览器访问 xxx,实际访问的是 yyy/xxx浏览器访问 xxx/abc.html,实际访问的是 yyy/xxx/abc.html浏览器访问 xxx/ccc/abc.html,实际访问的是 yyy/xxx/ccc/abc.h ...
分类:其他好文   时间:2021-06-24 17:47:20    阅读次数:0
jenkins部署vue项目
jenkins部署vue项目 安装nodejs 配置nodejs的源,去官网查看需要安装的版本和介绍 V8.x: # curl --silent --location https://rpm.nodesource.com/setup_8.x | bash - yum安装node.js yum ins ...
分类:其他好文   时间:2021-06-23 17:07:38    阅读次数:0
数据json文件生成
ssa2 = location.read_locationa(row[4]) datajson["weather"]=ssa2['weather'] datajson["temperature"]=ssa2['temperature'] datajson["windpower"]=ssa2['win ...
分类:Web程序   时间:2021-06-21 20:16:26    阅读次数:0
vue系列 url的hash和HTML5的history
url的hash和HTML5的history URL的hash URL的hash也就是锚点(#), 本质上是改变window.location的href属性. 我们可以通过直接赋值location.hash来改变href, 但是页面不发生刷新 history H5的history接口是HTML5新增 ...
分类:Web程序   时间:2021-06-21 20:05:45    阅读次数:0
8134条   1 2 3 4 ... 814 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!