logging files and set to 2000 in 5vv
This commit is contained in:
@@ -432,7 +432,7 @@ module.exports = new Vue({
|
|||||||
try {
|
try {
|
||||||
await api.put("config/save", this.config);
|
await api.put("config/save", this.config);
|
||||||
if(selected_tool == "pwncnc-vfd" && saveModbus){
|
if(selected_tool == "pwncnc-vfd" && saveModbus){
|
||||||
setTimeout(() => this.state['5vv'] = 6,1000);
|
setTimeout(() => this.state['5vv'] = 6, 2000);
|
||||||
}
|
}
|
||||||
this.modified = false;
|
this.modified = false;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
@@ -504,6 +504,7 @@ module.exports = {
|
|||||||
|
|
||||||
upload_folder: async function (e) {
|
upload_folder: async function (e) {
|
||||||
const files = e.target.files || e.dataTransfer.files;
|
const files = e.target.files || e.dataTransfer.files;
|
||||||
|
console.log(files);
|
||||||
if (!files.length) {
|
if (!files.length) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user