update:rss更新日改成具体周几

del:移除my.js一处日志打印
This commit is contained in:
2022-07-14 13:56:04 +08:00
parent 64656c7dc6
commit 39d4edebae
4 changed files with 18 additions and 6 deletions

View File

@@ -183,11 +183,11 @@
{{# }}}
</script>
<script type="text/html" id="animUpdateState">
{{# if(d.update==1){}}
{{# if(d.updateDay=='今天更新'){}}
<div><input type="checkbox" name="update" lay-text="今天更新|不更新" lay-filter="stateCheckbox" lay-skin="switch"
value="{{d.id}}" checked disabled></div>
{{# } else { }}
<div><input type="checkbox" name="update" lay-text="今天更新|不更新" lay-filter="stateCheckbox" lay-skin="switch"
<div><input type="checkbox" name="update" lay-text="{{d.updateDay}}|{{d.updateDay}}" lay-filter="stateCheckbox" lay-skin="switch"
value="{{d.id}}" disabled></div>
{{# }}}
</script>

View File

@@ -102,8 +102,7 @@ function Base64() {
}
}
function getParam(name){
console.log(window.location.href)
var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(window.location.href);
let results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(window.location.href);
if (results == null) {
return null;
} else {