|
|
@@ -608,10 +608,12 @@
|
|
|
_this.$axios.post('/register/addentity', _this.formData)
|
|
|
.then(function (response) {
|
|
|
if (response.data.code === 0) {
|
|
|
- _this.$message({
|
|
|
+ _this.$notify({
|
|
|
+ title: '成功',
|
|
|
type: 'success',
|
|
|
message: response.data.message,
|
|
|
showClose: true,
|
|
|
+ offset: 100,
|
|
|
duration: 8000
|
|
|
});
|
|
|
_this.$router.push('/login') //跳转到登录页
|