fix 83033
This commit is contained in:
@@ -8,13 +8,19 @@
|
|||||||
:disabled="disabled || selectOnly"
|
:disabled="disabled || selectOnly"
|
||||||
:max-length="500"
|
:max-length="500"
|
||||||
:placeholder="placeholder">
|
:placeholder="placeholder">
|
||||||
<a-icon v-if="nameStr || value" slot="suffix" class="close-icon" type="close-circle" theme="filled" @click="clearInput" />
|
|
||||||
|
<a-icon v-if="(nameStr || value) && !disabled" slot="suffix" class="close-icon" type="close-circle" theme="filled" @click="clearInput" />
|
||||||
</a-input>
|
</a-input>
|
||||||
<a-button v-if="!disabled" type="primary" class="button-box" @click="standardClick">
|
<a-button v-if="!disabled" type="primary" class="button-box" @click="standardClick">
|
||||||
{{this.$t('standardSelect.standardSelection')}}
|
{{ $t('standardSelect.standardSelection') }}
|
||||||
</a-button>
|
</a-button>
|
||||||
</div>
|
</div>
|
||||||
<standard-selection-modal ref="standardSelectionModal" v-bind="$attrs" :value="value" @change="modalInput" @nameChange="modalNameChange" @listChange="modalListChange"></standard-selection-modal>
|
<standard-selection-modal ref="standardSelectionModal"
|
||||||
|
v-bind="$attrs"
|
||||||
|
:value="value"
|
||||||
|
@change="modalInput"
|
||||||
|
@nameChange="modalNameChange"
|
||||||
|
@listChange="modalListChange"></standard-selection-modal>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -95,17 +101,21 @@ export default {
|
|||||||
|
|
||||||
<style scoped lang="less">
|
<style scoped lang="less">
|
||||||
@import '~@assets/less/common.less';
|
@import '~@assets/less/common.less';
|
||||||
|
|
||||||
.selection-wrapper {
|
.selection-wrapper {
|
||||||
height: 40px;
|
height: 40px;
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.box-title-text {
|
.box-title-text {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
.box-input {
|
.box-input {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.button-box {
|
.button-box {
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
}
|
}
|
||||||
@@ -116,6 +126,7 @@ export default {
|
|||||||
color: rgba(0, 0, 0, 0.25);
|
color: rgba(0, 0, 0, 0.25);
|
||||||
transition: color 0.3s;
|
transition: color 0.3s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.close-icon:hover {
|
.close-icon:hover {
|
||||||
color: rgba(0, 0, 0, 0.45);
|
color: rgba(0, 0, 0, 0.45);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user