Merge pull request #610 from veops/dev_ui_240903

fix(ui): build error
This commit is contained in:
Leo Song 2024-09-03 13:15:43 +08:00 committed by GitHub
commit f3cc12f1f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 12 deletions

View File

@ -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: {