lilinfeng 2 months ago
parent
commit
46b9cd4c55

+ 2 - 2
src/main.js

@@ -24,8 +24,8 @@ import * as filters from './filters' // global filters
 
 
 //引入echarts
-import * as echarts from 'echarts'
-Vue.prototype.$echarts = echarts
+// import * as echarts from 'echarts'
+// Vue.prototype.$echarts = echarts
 
 
 // 自定义按钮权限指令

+ 1 - 0
src/store/modules/user.js

@@ -120,6 +120,7 @@ const actions = {
             resolve(data)
           })
         } else {
+          clg(response)
           reject(response)
         }
 

+ 1 - 1
src/views/governmentCloud/questionnaireInvestigation/Statistics.vue

@@ -320,7 +320,7 @@ export default {
         openChart(questionnaire) {
             this.dialogChartVisible = true
             this.$nextTick(() => {
-                this.basic_dashboard_type(questionnaire)
+                // this.basic_dashboard_type(questionnaire)
             })
         }
     },

+ 2 - 2
src/views/login/index.vue

@@ -161,13 +161,13 @@ export default {
                     console.log(query)
 
                     this.$store.dispatch('user/login', query).then(res => {
-                        this.$message.success('登录成功,正在跳转')
+                        // this.$message.success('登录成功,正在跳转')
                         this.$router.push({
                             path: this.redirect || '/home',
                             query: this.otherQuery
                         })
                     }).catch((res) => {
-                        this.$message.error(res.msg)
+                        // this.$message.error(res.msg)
                         if (this.needCode) {
                             this.changeImg()
                             this.loginForm.code = ''