fix: fetch resource api once when sorting (closes #1172) (#1202)

This commit is contained in:
叫我彭一凡
2021-01-12 07:00:40 +08:00
committed by GitHub
parent b600b11415
commit 05bb7c8553

View File

@@ -112,8 +112,10 @@ export default {
},
watch: {
'$route': 'fetchData',
'reload': function () {
this.fetchData()
'reload': function (value) {
if (value === true) {
this.fetchData()
}
}
},
mounted () {