PAMapp/components/BackActionBar.vue
@@ -11,7 +11,6 @@ import { namespace } from 'nuxt-property-decorator'; import { Vue, Component,} from 'vue-property-decorator'; import * as _ from 'lodash'; import { Role } from '~/shared/models/enum/Role'; const appointmentStore = namespace('appointment.store'); @@ -54,7 +53,7 @@ break; case 'agentInfo': const agentFeatureLabel = this.$route.name.includes('edit') ? '編輯帳號資訊' : '查看帳號資訊'; featureLabel = _.isEqual(this.currentRole,Role.ADMIN) featureLabel = this.currentRole === Role.ADMIN ? agentFeatureLabel : '業務員資訊' break;