fix(用例管理): 表格组件全局行内编辑全局提示
--bug=1035871 --user=王旭 【用例管理】用例列表编辑用例名称时,用例名称为空没有提示信息 https://www.tapd.cn/55049933/s/1482676
This commit is contained in:
parent
a0085b1591
commit
30ecc8d586
|
@ -254,6 +254,7 @@
|
|||
|
||||
<script lang="ts" setup>
|
||||
import { computed, defineModel, nextTick, onMounted, ref, useAttrs, watch } from 'vue';
|
||||
import { Message } from '@arco-design/web-vue';
|
||||
|
||||
import MsIcon from '@/components/pure/ms-icon-font/index.vue';
|
||||
import MsPagination from '@/components/pure/ms-pagination/index';
|
||||
|
@ -497,6 +498,7 @@
|
|||
currentEditValue.value = '';
|
||||
} else {
|
||||
if (!record[dataIndex]) {
|
||||
Message.warning(t('common.value.notNull'));
|
||||
return;
|
||||
}
|
||||
// 触发的是Enter
|
||||
|
|
|
@ -144,4 +144,5 @@ export default {
|
|||
'common.notQuote': 'Not quote',
|
||||
'common.execute': 'execute',
|
||||
'common.replace': 'replace',
|
||||
'common.value.notNull': 'The attribute value cannot be empty',
|
||||
};
|
||||
|
|
|
@ -145,4 +145,5 @@ export default {
|
|||
'common.notQuote': '不引用',
|
||||
'common.execute': '执行',
|
||||
'common.replace': '替换',
|
||||
'common.value.notNull': '属性值不能为空',
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue