fix(接口测试): 修改提示
This commit is contained in:
parent
a60ffdbddd
commit
594a95d26e
|
@ -140,7 +140,7 @@
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { useVModel } from '@vueuse/core';
|
import { useVModel } from '@vueuse/core';
|
||||||
import FormInstance from '@arco-design/web-vue';
|
import FormInstance, { Message } from '@arco-design/web-vue';
|
||||||
import { JSONPath } from 'jsonpath-plus';
|
import { JSONPath } from 'jsonpath-plus';
|
||||||
|
|
||||||
import MsButton from '@/components/pure/ms-button/index.vue';
|
import MsButton from '@/components/pure/ms-button/index.vue';
|
||||||
|
@ -251,6 +251,9 @@
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if (matchResult.value.length > 0) {
|
||||||
|
Message.success(t('apiTestDebug.testSuccess'));
|
||||||
|
}
|
||||||
isMatched.value = true;
|
isMatched.value = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -195,5 +195,6 @@ export default {
|
||||||
'apiTestDebug.noPlugin': 'Plugin has been uninstalled',
|
'apiTestDebug.noPlugin': 'Plugin has been uninstalled',
|
||||||
'apiTestDebug.unsavedLeave':
|
'apiTestDebug.unsavedLeave':
|
||||||
'The content of some tabs has not been saved. The unsaved content will be lost after leaving. Are you sure you want to leave?',
|
'The content of some tabs has not been saved. The unsaved content will be lost after leaving. Are you sure you want to leave?',
|
||||||
|
'apiTestDebug.testSuccess': 'Test success',
|
||||||
'apiTestDebug.searchByDataBaseName': 'Search by data source name',
|
'apiTestDebug.searchByDataBaseName': 'Search by data source name',
|
||||||
};
|
};
|
||||||
|
|
|
@ -182,5 +182,6 @@ export default {
|
||||||
'apiTestDebug.noPluginTip': '该插件已卸载,无法查看插件详情',
|
'apiTestDebug.noPluginTip': '该插件已卸载,无法查看插件详情',
|
||||||
'apiTestDebug.noPlugin': '插件已卸载',
|
'apiTestDebug.noPlugin': '插件已卸载',
|
||||||
'apiTestDebug.unsavedLeave': '有标签页的内容未保存,离开后后未保存的内容将丢失,确定要离开吗?',
|
'apiTestDebug.unsavedLeave': '有标签页的内容未保存,离开后后未保存的内容将丢失,确定要离开吗?',
|
||||||
|
'apiTestDebug.testSuccess': '测试成功',
|
||||||
'apiTestDebug.searchByDataBaseName': '按数据源名称搜索',
|
'apiTestDebug.searchByDataBaseName': '按数据源名称搜索',
|
||||||
};
|
};
|
||||||
|
|
|
@ -70,6 +70,7 @@
|
||||||
v-if="showPool"
|
v-if="showPool"
|
||||||
field="resourcePoolIds"
|
field="resourcePoolIds"
|
||||||
:label="t('system.project.resourcePool')"
|
:label="t('system.project.resourcePool')"
|
||||||
|
asterisk-position="end"
|
||||||
:rules="[{ required: showPool, message: t('system.project.poolIsNotNull') }]"
|
:rules="[{ required: showPool, message: t('system.project.poolIsNotNull') }]"
|
||||||
>
|
>
|
||||||
<MsSystemPool
|
<MsSystemPool
|
||||||
|
|
Loading…
Reference in New Issue