Skip to content
Snippets Groups Projects
Commit 9673d44e authored by ParkByungGeon's avatar ParkByungGeon
Browse files

Page3 created() 초기화

parent 235c51ac
Branches master
No related tags found
No related merge requests found
......@@ -170,6 +170,33 @@
saveDataInFB: function () {
}
},
created(){
this.$store.state.SS_init_money = 0,
this.$store.state.SS_init_stocks = [],
this.$store.state.SS_init_index_stock_num = 0,
this.$store.state.SS_ratio = [],
this.$store.state.SS_chart_labels = [],
this.$store.state.SS_chart_data1 = [],
this.$store.state.SS_chart_data2 = [],
this.$store.state.SS_chart_done = false,
//총 투자 수익률
this.$store.state.SS_whole_profit = 0,
//연환산 수익률
this.$store.state.SS_annual_profit = 0,
this.stockNum=[],
this.date='',
this.budget= 0,
this.stockCode= [],
this.stockList= [],
this.ratio= this.$store.state.SS_ratio,
this.tmp=0,
this.valid=false,
this.options=[]
}
}
</script>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment