소스 검색

上线正式环境

chao 3 년 전
부모
커밋
ab6eb00ae2

+ 1 - 1
.env.production

@@ -2,5 +2,5 @@
 ENV = 'production'
 
 # base api
-VUE_APP_BASE_API = 'http://mapi.caimei365.com/'
+VUE_APP_BASE_API = 'https://mapi.caimei365.com/'
 

+ 2 - 2
src/views/sys/menus/form.vue

@@ -133,7 +133,7 @@ export default {
                   type: 'success',
                   duration: 1000
                 })
-                this.$router.back()
+                this.goBack()
               })
             } else {
               createMenu(this.menu).then(response => {
@@ -144,7 +144,7 @@ export default {
                   type: 'success',
                   duration: 1000
                 })
-                this.$router.back()
+                this.goBack()
               })
             }
           })

+ 2 - 2
src/views/sys/roles/form.vue

@@ -124,7 +124,7 @@ export default {
                   type: 'success',
                   duration: 1000
                 })
-                this.$router.back()
+                this.goBack()
               })
             } else {
               createRole(this.role).then(response => {
@@ -135,7 +135,7 @@ export default {
                   type: 'success',
                   duration: 1000
                 })
-                this.$router.back()
+                this.goBack()
               })
             }
           })

+ 2 - 1
src/views/sys/users/form.vue

@@ -136,7 +136,7 @@ export default {
                   type: 'success',
                   duration: 1000
                 })
-                this.$router.back()
+                this.goBack()
               })
             } else {
               createUser(this.sysUser).then(response => {
@@ -147,6 +147,7 @@ export default {
                   type: 'success',
                   duration: 1000
                 })
+                this.goBack()
               })
             }
           })

+ 2 - 2
src/views/wechat/components/articleForm.vue

@@ -128,7 +128,7 @@ export default {
                   type: 'success',
                   duration: 1000
                 })
-                this.$router.back()
+                this.goBack()
               })
             } else {
               createArticle(this.article).then(response => {
@@ -139,7 +139,7 @@ export default {
                   type: 'success',
                   duration: 1000
                 })
-                this.$router.back()
+                this.goBack()
               })
             }
           })

+ 2 - 2
src/views/wechat/components/menusForm.vue

@@ -144,7 +144,7 @@ export default {
                   type: 'success',
                   duration: 1000
                 })
-                this.$router.back()
+                this.goBack()
               })
             } else {
               createMenu(this.menu).then(response => {
@@ -155,7 +155,7 @@ export default {
                   type: 'success',
                   duration: 1000
                 })
-                this.$router.back()
+                this.goBack()
               })
             }
           })

+ 2 - 2
src/views/wechat/components/replyForm.vue

@@ -184,7 +184,7 @@ export default {
                   type: 'success',
                   duration: 1000
                 })
-                this.$router.back()
+                this.goBack()
               })
             } else {
               createReply(this.reply).then(response => {
@@ -195,7 +195,7 @@ export default {
                   type: 'success',
                   duration: 1000
                 })
-                this.$router.back()
+                this.goBack()
               })
             }
           })

+ 2 - 2
src/views/wechat/components/textForm.vue

@@ -95,7 +95,7 @@ export default {
                   type: 'success',
                   duration: 1000
                 })
-                this.$router.back()
+                this.goBack()
               })
             } else {
               createText(this.text).then(response => {
@@ -106,7 +106,7 @@ export default {
                   type: 'success',
                   duration: 1000
                 })
-                this.$router.back()
+                this.goBack()
               })
             }
           })