提交 4e0c7239 编写于 作者: B break60 提交者: qiaozhanwei

Merge incomplete (#1283)

上级 8fe7bf1b
......@@ -16,7 +16,7 @@
*/
<template>
<div>
<div class="servers-wrapper mysql-model content-box" v-show="mysqlList.length">
<div class="servers-wrapper mysql-model content-wrap" v-show="mysqlList.length">
<div class="row" v-for="(item,$index) in mysqlList">
<div class="col-md-12">
<div class="db-title">
......@@ -130,7 +130,7 @@ export default {
</script>
<style lang="scss" rel="stylesheet/scss">
@import "./servers";
.content-box {
.content-wrap {
background: #fff;
min-height: calc(100vh - 100px);
margin: 20px;
......
......@@ -98,7 +98,7 @@
*/
_manualEmail () {
if (this.email === '') {
return
return true
}
this.email = _.trim(this.email).replace(/(;$)|(;$)/g, "")
......@@ -114,11 +114,14 @@
this.activeList.push(email)
this.email = ''
this._handlerEmailWitch()
return true
} else {
this.$message.warning(`${i18n.$t('Mailbox already exists! Recipients and copyers cannot repeat')}`)
return false
}
} else {
this.$message.warning(`${i18n.$t('Mailbox input is illegal')}`)
return false
}
},
/**
......@@ -252,11 +255,6 @@
_emailTab () {
// Data processing
this._emailEnter()
// Focus acquisition
setTimeout(() => {
// Focus position
this.$refs.emailInput.focus()
}, 100)
}
},
watch: {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册