保誠-保戶業務員媒合平台
Mila
2021-12-10 76c1ce3c2eb001560bfb785f7b2f62d4ec64dcb6
PAMapp/components/BackActionBar.vue
@@ -7,11 +7,10 @@
</template>
<script lang="ts">
import { namespace, Watch } from 'nuxt-property-decorator';
import { namespace } from 'nuxt-property-decorator';
import { Vue, Component,} from 'vue-property-decorator';
import { Role } from '~/assets/ts/models/enum/Role';
import * as _ from 'lodash';
import { isLogin } from '~/assets/ts/auth';
const roleStorage = namespace('localStorage');
@Component
@@ -69,7 +68,7 @@
  }
  set label(value) {
    this.questionnaireState = value === '進行預約' ? isLogin() : true;
    this.questionnaireState = value === '進行預約' ? this.currentRole === Role.USER : true;
  }
}
</script>