소스 검색

弹出提示

Liuqi 6 년 전
부모
커밋
0a5667bd64
2개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. BIN
      src/dashoo.cn/frontend_web/dist.rar
  2. 3 1
      src/dashoo.cn/frontend_web/src/pages/signup.vue

BIN
src/dashoo.cn/frontend_web/dist.rar


+ 3 - 1
src/dashoo.cn/frontend_web/src/pages/signup.vue

@@ -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') //跳转到登录页