修正#老婆 查询功能一处可能越权的查询逻辑

This commit is contained in:
yoimiya-kokomi 2022-04-07 04:54:32 +08:00
parent d77f230d8d
commit 3a2f626907
2 changed files with 6 additions and 6 deletions

View File

@ -86,7 +86,7 @@ export async function wife(e, { render, User }) {
let MysApi = await e.getMysApi({
auth: "all",
target: "all",
target: "self",
cookieType: "all",
actionName: "查询信息"
});

View File

@ -10,7 +10,7 @@
</style>
<div class="container elem_{{elem}}" id="container">
<div class="head-box" style="background-image:url('{{_res_path}}{{_char}}/party.png')">
<div class="head-box" style="background-image:url('{{_res_path}}/{{_char}}/party.png')">
<div class="head">
<img src="{{_res_path}}{{_char}}/face.png"/>
</div>
@ -40,13 +40,13 @@
</div>
{{each talent skill idx}}
{{each talent skill type}}
<div class="talent-box">
<div class="talent-detail">
<div class="talent-line">
<div class="talent-icon">
<img src="{{_res_path}}{{_char}}/talent_{{idx}}.png"/>
<img src="{{_res_path}}{{_char}}/talent_{{type}}.png"/>
</div>
<div class="talent-info">
<strong class="talent-name">{{skill.name}}</strong>
@ -67,7 +67,7 @@
<div class="tr">
<div class="th"></div>
{{each skill.tableKeys lv idx}}
{{if idx>4 && idx < 13}}
{{if (type=="a" && idx>4 && idx<11) || (type!="a" && idx>4 && idx < 13)}}
<div class="th lv">{{lv}}</div>
{{/if}}
{{/each}}
@ -78,7 +78,7 @@
{{tr.name}}
</div>
{{each tr.value v idx}}
{{if idx >4 && idx < 13}}
{{if (type=="a" && idx>4 && idx<11) || (type!="a" && idx>4 && idx < 13)}}
<div class="td">{{v}}</div>
{{/if}}
{{/each}}