Skip to content

How to add meta in route #396

@ibrahim-990

Description

@ibrahim-990

Describe the bug

meta: permission: parent: roles action: !expr > ${isEdit.value ? 'can_update' : 'can_view'} i cant access isEdit from <script>const isEdit = ref(false)</script> in route with vuejs. i Get value like this permission: {parent: 'roles', action: "${isEdit.value ? 'can_update' : 'can_view'}"}

Reproduction

no repo

System Info

Browsers

Used Package Manager

npm

Validations

  • Follow the Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A please open a GitHub Discussion.
  • The provided reproduction is a minimal reproducible example of the bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions