You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 22, 2022. It is now read-only.
Suggest to update the mounted code to include the following, which fixes the "this" reference inside Wails.Events...
mounted() {
let that = this
Wails.Events.On("filemodified", () => {
that.loadList();
});
Wails.Events.On("error", (message, number) => {
let result = number * 2;
that.setErrorMessage(${message}: ${result});
});
// Load the list at the start
that.loadList();
}
The text was updated successfully, but these errors were encountered:
Suggest to update the mounted code to include the following, which fixes the "this" reference inside Wails.Events...
mounted() {
let that = this
Wails.Events.On("filemodified", () => {
that.loadList();
});
Wails.Events.On("error", (message, number) => {
let result = number * 2;
that.setErrorMessage(
${message}: ${result}
);});
// Load the list at the start
that.loadList();
}
The text was updated successfully, but these errors were encountered: