Skip to content

Commit

Permalink
更改view饼图显示的生命周期
Browse files Browse the repository at this point in the history
  • Loading branch information
ximumukang committed Nov 16, 2017
1 parent aa74781 commit 97d54f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/View.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
'recoverSurvey'
]),
},
updated(){
mounted(){
let canvasEles = document.getElementsByTagName("canvas");
for (let i = 0,len=canvasEles.length; i < len; i++) {
if (typeof this.answer[i][0] !== "number") {
Expand Down

0 comments on commit 97d54f1

Please sign in to comment.