pages/customer-page/customer-my/customer-my.vue
@@ -129,7 +129,7 @@ <view class="statistics"><u-button text="用户管理" type="primary" @click="userManage" v-if="roleType == 1 && userEntity.isHostUser === '0'"></u-button></view> v-if="roleType == 1 && userInfo.isHostUser === 0"></u-button></view> <view class="logout"><u-button text="修改密码" type="primary" @click="modifyPwd"></u-button></view> @@ -259,6 +259,9 @@ computed: { roleType() { return uni.getStorageSync('roleType'); }, userInfo(){ return uni.getStorageSync('userInfo'); } }, methods: {