首页 > 技术文章 > html 引入上下文路径

liangb 2019-05-29 11:01 原文

1 js里 定义var contextPath="http://localhost:8081";

2 其他页面引入js  url: contextPath+"/home/getequipmentList",

推荐阅读