mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 04:33:08 +02:00
Fix #4340
This commit is contained in:
parent
a5071db864
commit
b106acac91
2 changed files with 11 additions and 3 deletions
|
@ -1,6 +1,10 @@
|
|||
ChangeLog
|
||||
=========
|
||||
|
||||
unreleasded
|
||||
----------
|
||||
* デッキモードにてユーザーのプロフィールを連続で見たとき、アクティビティや画像が前のユーザーのもののまま表示される問題を修正
|
||||
|
||||
10.88.0
|
||||
----------
|
||||
* アカウントの削除を試験的に実装
|
||||
|
|
|
@ -61,12 +61,14 @@ export default Vue.extend({
|
|||
return {
|
||||
withFiles: false,
|
||||
images: [],
|
||||
makePromise: null
|
||||
makePromise: null,
|
||||
chart: null as ApexCharts
|
||||
};
|
||||
},
|
||||
|
||||
watch: {
|
||||
user() {
|
||||
this.fetch();
|
||||
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: {
|
||||
type: 'bar',
|
||||
stacked: true,
|
||||
|
@ -201,7 +205,7 @@ export default Vue.extend({
|
|||
}
|
||||
});
|
||||
|
||||
chart.render();
|
||||
this.chart.render();
|
||||
});
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue