feat(user_list.vue): 更新用户列表状态并添加切换方法
更新了用户列表的状态值,从“待审核”改为“已通过”和“未通过”,并添加了`change`方法用于处理状态切换
This commit is contained in:
parent
01448b7113
commit
2a4185923f
@ -62,10 +62,13 @@
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
current:0,
|
current:0,
|
||||||
List:[{'name':'待审核'},{'name':'待审核'},{'name':'待审核'}]
|
List:[{'name':'待审核'},{'name':'已通过'},{'name':'未通过'}]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
change(e){
|
||||||
|
this.current=e;
|
||||||
|
},
|
||||||
goBack() {
|
goBack() {
|
||||||
if (getCurrentPages().length > 1) {
|
if (getCurrentPages().length > 1) {
|
||||||
uni.navigateBack()
|
uni.navigateBack()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user