mirror of
https://github.com/bartvdbraak/SlayerWeightCalculator.git
synced 2025-07-08 04:09:11 +00:00
sync instead of emit for configdata
This commit is contained in:
parent
4c2e9183f0
commit
8a7e2a25b2
2 changed files with 14 additions and 12 deletions
|
@ -176,15 +176,11 @@ export default {
|
|||
});
|
||||
}
|
||||
},
|
||||
beforeRouteLeave (to, from, next) {
|
||||
this.$emit('update',this.configData);
|
||||
next()
|
||||
},
|
||||
created() {
|
||||
this.setRemember()
|
||||
},
|
||||
watch: {
|
||||
configFile: function () {
|
||||
configFile() {
|
||||
if (window.File && window.FileReader && window.FileList && window.Blob) {
|
||||
this.readFile(this.configFile);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue