mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-06 05:58:46 +08:00
style: 高级筛选-名称报错信息&添加条件按钮的禁用
--bug=1047063 --user=吕梦园 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001047063 --bug=1047060 --user=吕梦园 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001047060
This commit is contained in:
parent
623b69c6b9
commit
da6c3d796f
@ -161,7 +161,12 @@
|
|||||||
</a-button>
|
</a-button>
|
||||||
</div>
|
</div>
|
||||||
</a-form>
|
</a-form>
|
||||||
<MsButton type="text" class="mt-[5px] w-[fit-content]" @click="handleAddItem">
|
<MsButton
|
||||||
|
:disabled="formModel.list?.length === [...props.configList, ...(props.customList ?? [])].length"
|
||||||
|
type="text"
|
||||||
|
class="mt-[5px] w-[fit-content]"
|
||||||
|
@click="handleAddItem"
|
||||||
|
>
|
||||||
<MsIcon type="icon-icon_add_outlined" class="mr-[3px]" />
|
<MsIcon type="icon-icon_add_outlined" class="mr-[3px]" />
|
||||||
{{ t('advanceFilter.addCondition') }}
|
{{ t('advanceFilter.addCondition') }}
|
||||||
</MsButton>
|
</MsButton>
|
||||||
@ -528,6 +533,10 @@
|
|||||||
async (val) => {
|
async (val) => {
|
||||||
// 新建视图关闭后重新获取数据
|
// 新建视图关闭后重新获取数据
|
||||||
if (!val) {
|
if (!val) {
|
||||||
|
if (isShowNameInput.value) {
|
||||||
|
formModel.value.name = savedFormModel.value.name;
|
||||||
|
isShowNameInput.value = false;
|
||||||
|
}
|
||||||
handleCancelSaveAsView();
|
handleCancelSaveAsView();
|
||||||
if (formModel.value?.id !== props.currentView) {
|
if (formModel.value?.id !== props.currentView) {
|
||||||
await getUserViewDetail(props.currentView);
|
await getUserViewDetail(props.currentView);
|
||||||
@ -563,7 +572,7 @@
|
|||||||
height: 60px;
|
height: 60px;
|
||||||
.arco-form-item-content,
|
.arco-form-item-content,
|
||||||
.arco-input-wrapper,
|
.arco-input-wrapper,
|
||||||
.arco-form-item-wrapper-col {
|
.arco-form-item-content-wrapper {
|
||||||
height: 26px;
|
height: 26px;
|
||||||
min-height: 26px;
|
min-height: 26px;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user