removedd all changes related to EM-60
This commit is contained in:
@@ -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");
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user