()
| 145 | } |
| 146 | |
| 147 | destroy () { |
| 148 | if (this.vuexModule) { |
| 149 | store.unregisterModule('page') |
| 150 | } |
| 151 | this.vueComponent.$destroy() |
| 152 | this.vueComponent.$store = silentStore |
| 153 | } |
| 154 | // ignore all further changes to the store, since the module has been unregistered. |
| 155 | // may later want to just ignore mutations and actions to the page module. |
| 156 |