step-paper-navigator.vue 615 B

123456789101112131415161718192021
  1. <template>
  2. <view class="py-30 px-40">
  3. <mx-bottom-buttons v-bind="bottomBinding"/>
  4. </view>
  5. </template>
  6. <script setup>
  7. import {computed} from 'vue';
  8. import {useInjectPaperNavigatorRef} from "@/components/mx-paper/components/usePaperNavigatorRefInjection";
  9. import {useInjectPaperNavigationService} from "@/components/mx-paper/usePaperNavigationServiceInjection";
  10. const {navigator} = useInjectPaperNavigatorRef()
  11. const {uncompletedCheckForSubmit} = useInjectPaperNavigationService()
  12. const bottomBinding = computed(() => uncompletedCheckForSubmit(navigator.value))
  13. </script>
  14. <style scoped>
  15. </style>