XPath
+ :disabled="caseEnable ">
@@ -42,6 +44,7 @@
@@ -54,6 +57,7 @@
@@ -65,6 +69,7 @@
@@ -80,7 +85,7 @@
v-model="assertions.document.enable"
class="enable-switch"
size="mini"
- :disabled="isReadOnly && !assertions.document.label"
+ :disabled="(isReadOnly && !assertions.document.label) || caseEnable"
style="width: 30px; margin-right: 10px" />
@@ -90,12 +95,12 @@
size="mini"
circle
@click="remove()"
- :disabled="isReadOnly && !assertions.document.label && !assertions.root" />
+ :disabled="(isReadOnly && !assertions.document.label && !assertions.root) || caseEnable" />
-
+
@@ -127,6 +132,10 @@ export default {
type: Boolean,
default: false,
},
+ caseEnable: {
+ type: Boolean,
+ default: false,
+ },
},
data() {
return {