Browse Source

格式化代码

feature/yujt_analysis_pc
yujt 6 years ago
parent
commit
edcd9157af
  1. 24
      src/views/modules/property/group-approve.vue
  2. 2
      src/views/modules/sys/role-add-or-update.vue

24
src/views/modules/property/group-approve.vue

@ -110,19 +110,19 @@ export default {
} }
this.$http['post']( this.$http['post'](
'/property/group/operate', this.dataForm).then(({ data: res }) => { '/property/group/operate', this.dataForm).then(({ data: res }) => {
if (res.code !== 0) { if (res.code !== 0) {
return this.$message.error(res.msg) return this.$message.error(res.msg)
}
this.$message({
message: this.$t('prompt.success'),
type: 'success',
duration: 500,
onClose: () => {
this.visible = false
this.$emit('refreshDataList')
} }
this.$message({ })
message: this.$t('prompt.success'), }).catch(() => { })
type: 'success',
duration: 500,
onClose: () => {
this.visible = false
this.$emit('refreshDataList')
}
})
}).catch(() => { })
}, 1000, { 'leading': true, 'trailing': false }) }, 1000, { 'leading': true, 'trailing': false })
} }
} }

2
src/views/modules/sys/role-add-or-update.vue

@ -124,7 +124,7 @@ export default {
appMenuList: [], appMenuList: [],
categoryList: [], categoryList: [],
roleTypeList: [], roleTypeList: [],
analysisMenuList:[], analysisMenuList: [],
dataForm: { dataForm: {
id: '', id: '',
name: '', name: '',

Loading…
Cancel
Save