_ids.vue 616 B

123456789101112131415161718192021222324252627282930
  1. <template>
  2. <remind-box :title="remindText" :timeoutCount="timeoutCount"></remind-box>
  3. </template>
  4. <script>
  5. import { RemindBox } from '~components/mobile/common'
  6. export default {
  7. layout: 'mobile',
  8. middleware: 'authenticated',
  9. data () {
  10. return {
  11. remindText: '',
  12. timeoutCount: ''
  13. }
  14. },
  15. components: {
  16. RemindBox
  17. },
  18. fetch ({ store, params }) {
  19. return Promise.all([])
  20. },
  21. methods: {
  22. setRemindText: function (str) {
  23. this.remindText = str
  24. this.timeoutCount++
  25. }
  26. }
  27. }
  28. </script>
  29. <style lang="scss" scoped>
  30. </style>