Skip to content

Commit

Permalink
fix: 部分html标签未替换
Browse files Browse the repository at this point in the history
  • Loading branch information
Wizzercn committed Oct 10, 2022
1 parent 7b8d445 commit 320510d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/views/platform/cms/article/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ <h4>{{formData.title}}</h4>
self.action = "add";
self.formData = {
id: "",
author: "${@shiro.getPrincipalProperty('username')}",
author: "${@auth.getPrincipalProperty('username')}",
time: [
moment().format("x"),
moment("2099-12-31 23:59:59").format("x")
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/views/platform/sys/left.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--#if(!isEmpty(path)){
var secondMenus=@shiro.getPrincipalProperty('secondMenus');
var secondMenus=@auth.getPrincipalProperty('secondMenus');
#-->

<!--# for(firstMenu in @secondMenus.get(perpath)){ #-->
Expand Down
6 changes: 3 additions & 3 deletions src/main/resources/views/platform/sys/user/custom.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ <h4 class="modal-title">${msg['index.custommenu']}</h4>
<div class="list-group" style="text-align: center;">
<table width="88%" id="menuTable">
<!--#
var firstMenus=@shiro.getPrincipalProperty('firstMenus');
var secondMenus=@shiro.getPrincipalProperty('secondMenus');
var customMenu=@shiro.getPrincipalProperty('customMenu');
var firstMenus=@auth.getPrincipalProperty('firstMenus');
var secondMenus=@auth.getPrincipalProperty('secondMenus');
var customMenu=@auth.getPrincipalProperty('customMenu');
#-->
<!--#for(firstMenu in firstMenus){#-->
<tr>
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/views/platform/sys/user/mode.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ <h4 class="modal-title">${msg['index.user.mode']}</h4>
<div class="form">
<div class="col-sm-8">
<input name="mode" value="true" type="radio"
<!--#if(@shiro.getPrincipalProperty('loginPjax')){#-->checked<!--#}#--> > PJAX加载方式<br>优点:占用带宽少,加载速度快;<br>缺点:不能使用前进、后退功能。
<!--#if(@auth.getPrincipalProperty('loginPjax')){#-->checked<!--#}#--> > PJAX加载方式<br>优点:占用带宽少,加载速度快;<br>缺点:不能使用前进、后退功能。
</div>
</div>
</div>
Expand All @@ -20,7 +20,7 @@ <h4 class="modal-title">${msg['index.user.mode']}</h4>
<div class="form">
<div class="col-sm-8">
<input name="mode" value="false" type="radio"
<!--#if(!@shiro.getPrincipalProperty('loginPjax')){#-->checked<!--#}#--> > 传统加载方式<br>优点:可以使用前进、后退功能;<br>缺点:页面会重载、刷新,占用带宽大。
<!--#if(!@auth.getPrincipalProperty('loginPjax')){#-->checked<!--#}#--> > 传统加载方式<br>优点:可以使用前进、后退功能;<br>缺点:页面会重载、刷新,占用带宽大。
</div>
</div>
</div>
Expand Down

0 comments on commit 320510d

Please sign in to comment.