ionic-team / ionic-v3

The repo for Ionic 3.x. For the latest version of Ionic, please see https://github.com/ionic-team/ionic
Other
129 stars 86 forks source link

Warning [Vue warn]: Avoid app logic that relies on enumerating keys on a component instance. #1137

Open donPuerto opened 2 years ago

donPuerto commented 2 years ago

I'm submitting a ... (check one with "x") [ ] bug report [ ] feature request [ x] Not sure.. Maybe warning

Current behavior: image

Expected behavior: Routing causes vue warning on console. Dont how to troubleshoot the problem. Code is working but got a wrning

Related code: When routing is click error, vue warning occured.

<core-footer 
      message="Already got an account?" 
      text="Login" 
      link="/auth/login"
    />
<ion-row class="ion-text-center ion-justify-content-center">
    <ion-col size="12">
            <p >{{$props.message}} 
                        <span @click="() => router.push($props.link)" class="custom-link">{{text}}  &rarr;</span>
            </p>

    <ion-col>
</ion-row>