From d5fac02a6fdc6564ff5da88056245d0fa579f3c6 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Mon, 30 Oct 2023 17:07:23 +0800
Subject: [PATCH] Merge branch 'master' of http://s16s652780.51mypc.cn:49896/r/jczz_app

---
 subPackage/user/components/roleList.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/subPackage/user/components/roleList.vue b/subPackage/user/components/roleList.vue
index 18d35fa..cedcfe7 100644
--- a/subPackage/user/components/roleList.vue
+++ b/subPackage/user/components/roleList.vue
@@ -1,6 +1,6 @@
 <template>
 	<view class="role-container">
-		<view @click="activeRole(item)" v-for="(item, index) in roleData" :key="index" :class="item.active?'active':''">
+		<view @click="enableRole(item)" v-for="(item, index) in roleData" :key="index" :class="item.active?'active':''">
 			<view class="l">
 				<u-icon :name="item.iconName"></u-icon>
 				<view class="role-name">
@@ -30,7 +30,7 @@
 		methods: {
 
 			//启用角色
-			activeRole(item) {
+			enableRole(item) {
 				this.roleData.forEach(role => {
 					if (role.id == item.id) {
 						role.active = true

--
Gitblit v1.9.3