When the third-party registration page in App jumps back to the vue page, where does the initialization method update the status again?

for example, after the phone is bound, the status of the page should be updated. What is the specific method?


App.js

<template>
  <div id="app">
      <router-view v-if="isRouterAlive"></router-view>
  </div>
</template>
<script>
export default {
  name: "App",
  provide() {
    return {
      reload: this.reload
    };
  },
  data() {
    return {
      isRouterAlive: true
    };
  },
  methods: {
    reload() {
      this.isRouterAlive = false;
      this.$nextTick(function() {
        this.isRouterAlive = true;
      });
    }
  }
};
</script>

subpages

inject: ["reload"],
methods: {
 handleReload() {
   this.reload();
 }
}

I don't know if this is feasible


in the lifecycle hook function of vue
can be created, or mounted

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b361a0-2bfde.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b361a0-2bfde.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?