Commit d0ded03c by 陈超

A

parent 8b9ecca5
...@@ -409,17 +409,27 @@ ...@@ -409,17 +409,27 @@
data: function() { data: function() {
return { return {
info: {}, info: {},
temp: {} temp: {},
paperOptions: {},
countDown: "00:00:00"
} }
}, },
created: function() { created: function() {
this.info = {:json_encode($paper)}; this.info = {:json_encode($paper)};
this.temp = {:json_encode($tempData)}; this.temp = {:json_encode($tempData)};
this.paperOptions = {:json_encode($paper_options)};
console.log(this.info) console.log(this.info)
console.log(temp) console.log(this.temp)
console.log(this.paperOptions)
}, },
methods: { methods: {
countDown: function() {
let time = 1
let hours = Math.floor(time / 3600)
let minutes = Math.floor((time % 3600) / 60)
let seconds = Math.round(time % 60)
} }
}
}) })
</script> </script>
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