mirror of https://github.com/veops/cmdb.git
fix(ui): build error
This commit is contained in:
parent
1f3df6921d
commit
c3b7303a08
|
@ -27,17 +27,7 @@
|
||||||
class="input-group"
|
class="input-group"
|
||||||
v-else-if="isChoiceByProperty(rule.property) && (rule.exp === 'is' || rule.exp === '~is')"
|
v-else-if="isChoiceByProperty(rule.property) && (rule.exp === 'is' || rule.exp === '~is')"
|
||||||
>
|
>
|
||||||
<CIBuiltInAttr
|
|
||||||
v-if="getAttr(rule.property).choice_builtin"
|
|
||||||
:choice_builtin="getAttr(rule.property).choice_builtin"
|
|
||||||
class="select-filter"
|
|
||||||
:treeselectCustomStyle="{ width: '136px', '--custom-height': '36px' }"
|
|
||||||
:value="rule.value"
|
|
||||||
@change="(value) => handleChange('value', value)"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<a-select
|
<a-select
|
||||||
v-else
|
|
||||||
class="select-filter"
|
class="select-filter"
|
||||||
:style="{ width: '175px' }"
|
:style="{ width: '175px' }"
|
||||||
showSearch
|
showSearch
|
||||||
|
@ -153,13 +143,11 @@
|
||||||
<script>
|
<script>
|
||||||
import { compareTypeList } from './constants.js'
|
import { compareTypeList } from './constants.js'
|
||||||
import CIReferenceAttr from '@/components/ciReferenceAttr/index.vue'
|
import CIReferenceAttr from '@/components/ciReferenceAttr/index.vue'
|
||||||
import CIBuiltInAttr from '@/components/ciBuiltInAttr/index.vue'
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'ValueControls',
|
name: 'ValueControls',
|
||||||
components: {
|
components: {
|
||||||
CIReferenceAttr,
|
CIReferenceAttr,
|
||||||
CIBuiltInAttr
|
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
rule: {
|
rule: {
|
||||||
|
|
Loading…
Reference in New Issue