parkingHeaderDetail.js 484 B

1234567891011121314151617181920212223
  1. import uni from '@/utils/uniHooks';
  2. export default {
  3. data() {
  4. return {
  5. header: {},
  6. header2: {},
  7. };
  8. },
  9. created() {
  10. // this.header = JSON.parse(options.header);
  11. this.header2 = JSON.parse(this.$route.query.header);
  12. this.header = this.header2.invoiceTitle
  13. console.log('获取的发票信息', this.header);
  14. },
  15. mounted() {
  16. setTimeout(() => {
  17. uni.setNavigationBarTitle({
  18. title: '抬头详情',
  19. });
  20. }, 300);
  21. },
  22. };