bug fix
This commit is contained in:
@@ -24,7 +24,8 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
print: function(){
|
print: function(){
|
||||||
console.log(this.state);
|
var inputValue = document.getElementById('inputField').value;
|
||||||
|
console.log(inputValue);
|
||||||
},
|
},
|
||||||
open: function() {
|
open: function() {
|
||||||
utils.clickFileInput("gcode-file-input");
|
utils.clickFileInput("gcode-file-input");
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
script#macros-template(type="text/x-template")
|
script#macros-template(type="text/x-template")
|
||||||
#macros
|
#macros
|
||||||
h2 Macros
|
h2 Macros
|
||||||
button.printVariable(title="print Varibale", @click='print',
|
input(type="text",id="inputField")
|
||||||
|
button.printVariable(title="print Varibale", @click='print()',
|
||||||
style="height:100px;width:100px;font-weight:normal")
|
style="height:100px;width:100px;font-weight:normal")
|
||||||
.fa.fa-folder-download
|
.fa.fa-folder-download
|
||||||
button.pure-button(title="Upload a new GCode program.", @click="open",
|
button.pure-button(title="Upload a new GCode program.", @click="open",
|
||||||
|
|||||||
Reference in New Issue
Block a user