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'](
'/property/group/operate', this.dataForm).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
if (res.code !== 0) {
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'),
type: 'success',
duration: 500,
onClose: () => {
this.visible = false
this.$emit('refreshDataList')
}
})
}).catch(() => { })
})
}).catch(() => { })
}, 1000, { 'leading': true, 'trailing': false })
}
}

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

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

Loading…
Cancel
Save