mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 12:26:44 +08:00
当前排名
This commit is contained in:
@@ -354,9 +354,6 @@ export default {
|
|||||||
|
|
||||||
// 经验值排行榜(下拉框事件)
|
// 经验值排行榜(下拉框事件)
|
||||||
experienceCommand(e) {
|
experienceCommand(e) {
|
||||||
if(e == 'now'){
|
|
||||||
e = 'total'
|
|
||||||
}
|
|
||||||
this.isNow = false
|
this.isNow = false
|
||||||
this.experience.field = e;
|
this.experience.field = e;
|
||||||
this.experience.name = this.translate(e)
|
this.experience.name = this.translate(e)
|
||||||
@@ -384,6 +381,7 @@ export default {
|
|||||||
if(data.field == 'now'){
|
if(data.field == 'now'){
|
||||||
data.statType = 20
|
data.statType = 20
|
||||||
data.field = 'total'
|
data.field = 'total'
|
||||||
|
this.experience.field = 'total'
|
||||||
this.isNow = true
|
this.isNow = true
|
||||||
}
|
}
|
||||||
apiStat.getRanking(data).then(res=>{
|
apiStat.getRanking(data).then(res=>{
|
||||||
|
|||||||
Reference in New Issue
Block a user