fix(接口定义): 修复引用的场景场景设置被禁用的缺陷
This commit is contained in:
parent
161336a8f7
commit
4bb57ce4ae
|
@ -43,11 +43,11 @@
|
||||||
:visible.sync="dialogVisible" width="400px">
|
:visible.sync="dialogVisible" width="400px">
|
||||||
<ul>
|
<ul>
|
||||||
<el-tooltip :content="$t('commons.enable_scene_info')" placement="top" v-if='showEnableScenario'>
|
<el-tooltip :content="$t('commons.enable_scene_info')" placement="top" v-if='showEnableScenario'>
|
||||||
<el-checkbox v-model="data.environmentEnable" @change="checkEnv" :disabled="data.disabled">
|
<el-checkbox v-model="data.environmentEnable" @change="checkEnv">
|
||||||
{{ $t('commons.enable_scene') }}
|
{{ $t('commons.enable_scene') }}
|
||||||
</el-checkbox>
|
</el-checkbox>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
<el-checkbox v-model="data.variableEnable" :disabled="data.disabled">
|
<el-checkbox v-model="data.variableEnable">
|
||||||
{{ $t('commons.variable_scene') }}
|
{{ $t('commons.variable_scene') }}
|
||||||
</el-checkbox>
|
</el-checkbox>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -96,6 +96,9 @@ export default {
|
||||||
mounted() {
|
mounted() {
|
||||||
this.allSamplers = this.filter.get('DEFINITION');
|
this.allSamplers = this.filter.get('DEFINITION');
|
||||||
},
|
},
|
||||||
|
created() {
|
||||||
|
console.log(this.data)
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleCommand(cmd) {
|
handleCommand(cmd) {
|
||||||
switch (cmd) {
|
switch (cmd) {
|
||||||
|
|
Loading…
Reference in New Issue