提交 175860c3 authored 作者: lihuihui's avatar lihuihui

修改bug

上级 2ca5d645
...@@ -32,6 +32,14 @@ export default { ...@@ -32,6 +32,14 @@ export default {
}, },
{ title: '用户群分析', icon: '', path: '/groupAnalysis' }, { title: '用户群分析', icon: '', path: '/groupAnalysis' },
{ title: '用户触达', icon: '', path: '/userTrigger' } { title: '用户触达', icon: '', path: '/userTrigger' }
],
defaultMenus2: [
{
title: '案例背景选择',
icon: '',
path: '/caseSelection'
},
{ title: '用户触达', icon: '', path: '/userTrigger' }
] ]
} }
}, },
...@@ -40,7 +48,7 @@ export default { ...@@ -40,7 +48,7 @@ export default {
if (this.menus && this.menus.length) { if (this.menus && this.menus.length) {
return this.menus return this.menus
} }
return this.defaultMenus return this.$store.state.level === 1 ? this.defaultMenus2 : this.defaultMenus
} }
} }
} }
......
...@@ -66,7 +66,8 @@ export default { ...@@ -66,7 +66,8 @@ export default {
// 重置表单 // 重置表单
this.$refs.ruleForm.resetFields() this.$refs.ruleForm.resetFields()
}) })
.finally(() => { .finally(data => {
this.$message({ message: '密码修改失败', type: 'warning' })
this.submitLoading = false this.submitLoading = false
}) })
} }
......
...@@ -30,7 +30,7 @@ httpRequest.interceptors.response.use( ...@@ -30,7 +30,7 @@ httpRequest.interceptors.response.use(
function(response) { function(response) {
const { data } = response const { data } = response
if (data.code) { if (data.code) {
Message.error(data.message) // Message.error(data.message)
return Promise.reject(data) return Promise.reject(data)
} }
return data return data
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论