Commit f42b5292 authored by 铃兰's avatar 铃兰

重新修复了卡组数不更新的bug

parent 60bc4566
Pipeline #22677 passed with stages
in 1 minute and 10 seconds
......@@ -242,7 +242,7 @@ export default {
watch: {
lang: function (val) {
// console.log('lang change1', val)
this.init2();
this.init2()
},
},
methods: {
......@@ -493,7 +493,7 @@ export default {
},
onChange: function () {
$("#search").trigger('click')
this.getCount();
this.getCount()
},
getCount: function () {
var server = $("#server").val() || "mycard"
......@@ -507,6 +507,8 @@ export default {
if (isNaN(res.data)) {
return 0;
} else {
this.totalDeck = res.data;
this.$forceUpdate();
return res.data;
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment