This commit is contained in:
syuilo 2019-02-22 01:56:07 +09:00
parent a5071db864
commit b106acac91
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
2 changed files with 11 additions and 3 deletions

View file

@ -1,6 +1,10 @@
ChangeLog ChangeLog
========= =========
unreleasded
----------
* デッキモードにてユーザーのプロフィールを連続で見たとき、アクティビティや画像が前のユーザーのもののまま表示される問題を修正
10.88.0 10.88.0
---------- ----------
* アカウントの削除を試験的に実装 * アカウントの削除を試験的に実装

View file

@ -61,12 +61,14 @@ export default Vue.extend({
return { return {
withFiles: false, withFiles: false,
images: [], images: [],
makePromise: null makePromise: null,
chart: null as ApexCharts
}; };
}, },
watch: { watch: {
user() { user() {
this.fetch();
this.genPromiseMaker(); this.genPromiseMaker();
} }
}, },
@ -155,7 +157,9 @@ export default Vue.extend({
]); ]);
} }
const chart = new ApexCharts(this.$refs.chart, { if (this.chart) this.chart.destroy();
this.chart = new ApexCharts(this.$refs.chart, {
chart: { chart: {
type: 'bar', type: 'bar',
stacked: true, stacked: true,
@ -201,7 +205,7 @@ export default Vue.extend({
} }
}); });
chart.render(); this.chart.render();
}); });
}, },
} }