refactor(jd-card): 更新 iframe 页面链接
- 将 WalmartAccount 修改为 JDAccount -将 WalmartOrder 修改为 JDOrder
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
</style>
|
||||
<script>
|
||||
// 构建链接
|
||||
const url = "{{.portalHost}}" + "/iframe/WalmartAccount?token={{.token}}";
|
||||
const url = "{{.portalHost}}" + "/iframe/JDAccount?token={{.token}}";
|
||||
// 链接添加至到iframe中
|
||||
document.getElementsByTagName("iframe")[0].src = url;
|
||||
</script>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
</style>
|
||||
<script>
|
||||
// 构建链接
|
||||
const url = "{{.portalHost}}" + "/iframe/WalmartOrder?token={{.token}}";
|
||||
const url = "{{.portalHost}}" + "/iframe/JDOrder?token={{.token}}";
|
||||
// 链接添加至到iframe中
|
||||
document.getElementsByTagName("iframe")[0].src = url;
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user