removedd all changes related to EM-60

This commit is contained in:
saifullah-N
2023-01-29 12:38:44 +05:30
parent 18f3501aab
commit 1974f0b583
7 changed files with 656 additions and 643 deletions

View File

@@ -1,20 +1,20 @@
"use strict";
module.exports = {
replace: true,
template: "#modbus-reg-view-template",
props: [ "index", "model", "template", "enable" ],
replace: true,
template: "#modbus-reg-view-template",
props: ["index", "model", "template", "enable"],
computed: {
has_user_value: function() {
const type = this.model["reg-type"];
return type.includes("write") || type.includes("fixed") || type.includes("scaled");
}
computed: {
has_user_value: function () {
var type = this.model["reg-type"];
return type.indexOf("write") != -1 || type.indexOf("fixed") != -1;
},
},
methods: {
change: function() {
this.$dispatch("input-changed");
}
}
methods: {
change: function () {
this.$dispatch("input-changed");
},
},
};