bug 79886

This commit is contained in:
赵霄
2023-12-26 11:20:37 +08:00
parent 3b71a897f8
commit 52c55877e4
+8 -3
View File
@@ -1,5 +1,5 @@
<template> <template>
<div> <div class="wrapper-box">
<div class="user-organ-wrap"> <div class="user-organ-wrap">
<a-input <a-input
:type="inputType" :type="inputType"
@@ -16,7 +16,7 @@
@click="selectClick" @click="selectClick"
:title="checkedValue"> :title="checkedValue">
</a-input> </a-input>
<a-button type="primary" class="button-box" @click="selectClick" :disabled="disabled" v-if="showBtn"> <a-button type="primary" class="button-box" @click="selectClick" :disabled="disabled" v-if="showBtn && !disabled">
{{ $t('userSelect.select') }} {{ $t('userSelect.select') }}
</a-button> </a-button>
</div> </div>
@@ -114,8 +114,13 @@ export default {
</script> </script>
<style scoped lang="less"> <style scoped lang="less">
.wrapper-box {
display: flex;
}
.user-organ-wrap { .user-organ-wrap {
width: 100%; width: 100%;
flex: 1;
position: relative; position: relative;
display: flex; display: flex;
align-items: center; align-items: center;
@@ -123,7 +128,7 @@ export default {
.user-input { .user-input {
resize: none; resize: none;
width: calc(100% - 70px); //width: calc(100% - 70px);
} }
// 因为需要加title,所以不能把鼠标事件去掉 // 因为需要加title,所以不能把鼠标事件去掉