0👍
In the second line of your viewModal() function, you are placing a return false; statement. "The return statement ends function execution and specifies a value to be returned to the function caller." From Mozilla docs. That’s why the API call is never executing.
- [Vuejs]-Vuejs Disabled button when we didnt fill form
- [Vuejs]-Restoring Vue state (vuex) when reopening app
Source:stackexchange.com