mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-30 04:42:45 +08:00
修复经验百分比小数点的问题
This commit is contained in:
parent
010353f0bb
commit
9872a08968
@ -41,7 +41,7 @@
|
||||
:value="userInfo.process"
|
||||
><q-tooltip
|
||||
>当前经验 {{ userInfo.exp }} <br />距离下一级还剩
|
||||
{{ (1 - userInfo.process) * 100 }}%</q-tooltip
|
||||
{{ 100 - userInfo.process * 100 }}%</q-tooltip
|
||||
></q-linear-progress
|
||||
>
|
||||
</div>
|
||||
@ -118,7 +118,7 @@ export default {
|
||||
(
|
||||
(this.userInfo.exp - currentLevelDetail.minExp) /
|
||||
currentLevelDetail.upExp
|
||||
).toFixed(1)
|
||||
).toFixed(2)
|
||||
);
|
||||
},
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user