diff --git a/src/store/modules/user.js b/src/store/modules/user.js
index 5a33262..0b6e540 100644
--- a/src/store/modules/user.js
+++ b/src/store/modules/user.js
@@ -26,7 +26,7 @@ const actions = {
setGroupList({ commit }, data) {
commit('SET_GROUPLIST', data)
},
- setToken({ commit },data){
+ setToken({ commit }, data) {
commit('SET_TOKEN', data)
},
// user login
diff --git a/src/views/rules/Index.vue b/src/views/rules/Index.vue
index 06f1cd2..12c9dea 100644
--- a/src/views/rules/Index.vue
+++ b/src/views/rules/Index.vue
@@ -34,20 +34,17 @@ export default {
isRedraw: true,
render: (h, params) => {
return h('div', [
- h(
- 'el-button',
- {
- props: { type: 'text', size: 'mini', icon: 'el-icon-tickets', title: '查看详情' },
- on: { click: () => this.handleInfoVisible(params.row) }
- }
- ),
+ h('el-button', {
+ props: { type: 'text', size: 'mini', icon: 'el-icon-tickets', title: '查看详情' },
+ on: { click: () => this.handleInfoVisible(params.row) }
+ }),
h(
'el-button',
{
props: { type: 'text', size: 'mini', icon: 'el-icon-edit-outline', title: '修改' },
on: { click: () => this.handleEdit(params.row) }
},
- "修改"
+ '修改'
),
h(
'el-button',
@@ -55,7 +52,7 @@ export default {
props: { type: 'danger', size: 'mini', icon: 'el-icon-delete', title: '删除' },
on: { click: () => this.handleDelete(params.row, params.index) }
},
- "删除"
+ '删除'
)
])
}
@@ -107,7 +104,7 @@ export default {
},
watch: {
form: {
- handler() { },
+ handler() {},
deep: true
}
},
@@ -243,8 +240,7 @@ export default {