Browse Source

👣 制定代码规范模板团队规则

master
wangxiang 3 years ago
parent
commit
5d35bd8bef
  1. 1
      kicc-ui/src/components/Button/src/PopConfirmButton.vue
  2. 8
      kicc-ui/src/views/system/dept/index.vue
  3. 2
      kicc-ui/src/views/system/menu/index.vue

1
kicc-ui/src/components/Button/src/PopConfirmButton.vue

@ -41,7 +41,6 @@ @@ -41,7 +41,6 @@
return () => {
const bindValues = omit(unref(getBindValues), 'icon');
const btnBind = omit(bindValues, 'title');
// @ts-ignore
if (btnBind.disabled) btnBind.color = '';
const Button = h(BasicButton, btnBind, extendSlots(slots));

8
kicc-ui/src/views/system/dept/index.vue

@ -25,7 +25,7 @@ @@ -25,7 +25,7 @@
label: '新增',
icon: 'ant-design:plus-circle-outlined',
auth: ['dept_add'],
onClick: handleAdd.bind(null, record),
onClick: handleAdd.bind(null, record)
},
{
label: '删除',
@ -34,8 +34,8 @@ @@ -34,8 +34,8 @@
color: 'error',
popConfirm: {
title: '是否确认删除',
confirm: handleDel.bind(null, record),
},
confirm: handleDel.bind(null, record)
}
}]"
/>
</template>
@ -81,7 +81,7 @@ @@ -81,7 +81,7 @@
showIndexColumn: false,
canResize: false,
actionColumn: {
width: 220,
width: 250,
title: '操作',
dataIndex: 'action',
slots: { customRender: 'action' },

2
kicc-ui/src/views/system/menu/index.vue

@ -81,7 +81,7 @@ @@ -81,7 +81,7 @@
showIndexColumn: false,
canResize: false,
actionColumn: {
width: 220,
width: 250,
title: '操作',
dataIndex: 'action',
slots: { customRender: 'action' },

Loading…
Cancel
Save