当前位置:网站首页>js中使用art-template的参数
js中使用art-template的参数
2022-04-22 07:44:00 【零点呀】
```javascript
<script>
var paths='{
{path}}'
function run(paths) {
setTimeout(function () {
location.href=paths
},3000)
}
if (paths==`/admin/addUser`){
run('/register')
}else{
run('/login')
}
</script>
注意此处var paths=’{ {path}}'需要引号,否则报错
版权声明
本文为[零点呀]所创,转载请带上原文链接,感谢
https://blog.csdn.net/weixin_48302334/article/details/119544347
边栏推荐
- Another upper triangle number triangle
- Nacos Foundation (1): what is configuration center & introduction to Nacos
- Machine learning notes - Mathematics in principal component analysis
- cesium中实现楼层分解动画
- golang 环境搭建
- MATLAB提示:要使用 ‘xxx函数‘,则必须授权、安装并启用了以下产品:xxx toolbox
- Autumn recruitment job summary and sharing
- 秋招求职总结分享
- 客户端与服务器通信项目2
- shell笔记
猜你喜欢
随机推荐
cesium中实现楼层分解动画
OSPF class IV, class V and class VII LSA details
Level 1: Inheritance
Shell command script
sonic云真机入门教程
Fresco简单的使用—SimpleDraweeView
Teach you how to realize the pull-down refresh and pull-up load of recyclerview
cesium 采集地形高度,采集模型高度 (异步方法,适合数据较多的时候)
[跟着官方文档学JUnit5][二][WritingTests][学习笔记]
[no very low code] low code platform development diary, SQL programming of low code platform
ViewPager 全面总结
Redefine China's "core"
MATLAB提示:要使用 ‘xxx函数‘,则必须授权、安装并启用了以下产品:xxx toolbox
第1关:继承
OLED显示驱动
SQL数据库选择题(2)
ViewPager用法详细解析
秋招求职总结分享
Binary leading zero
Winsock编程接口实验:实现ping








