diff --git a/vue-consul/src/views/jms/index.vue b/vue-consul/src/views/jms/index.vue index bf92309..8a8a864 100644 --- a/vue-consul/src/views/jms/index.vue +++ b/vue-consul/src/views/jms/index.vue @@ -100,14 +100,14 @@ - - + 注意:每个云账号必须在JumpServer创建一个新节点!

JumpServer中已有的同名主机不会同步,日志可查看同名信息。
@@ -139,7 +139,11 @@ export default { account_list: [], jms_sync: { vendor: '', account: '', interval: '3', nodeid: '' }, switch_dict: {}, - swFormVisible: false + swFormVisible: false, + rules: { + newid: [{ required: true, message: '此为必填项', trigger: 'change' }, + { validator: validateInput, trigger: ['blur', 'change'] }] + } } }, created() {