Browse Source

👣 制定开发规则

master
wangxiang 3 years ago
parent
commit
9bfc141960
  1. 1
      kicc-ui/.eslintrc.js
  2. 2
      kicc-ui/src/views/system/user/DeptTree.vue
  3. 8
      kicc-ui/src/views/system/user/UserModal.vue

1
kicc-ui/.eslintrc.js

@ -58,7 +58,6 @@ module.exports = defineConfig({ @@ -58,7 +58,6 @@ module.exports = defineConfig({
'vue/custom-event-name-casing': 'off',
'vue/attributes-order': 'off',
'vue/one-component-per-file': 'off',
'vue/max-attributes-per-line': 'off',
'vue/multiline-html-element-content-newline': 'off',
'vue/singleline-html-element-content-newline': 'off',
'vue/attribute-hyphenation': 'off',

2
kicc-ui/src/views/system/user/DeptTree.vue

@ -20,7 +20,7 @@ @@ -20,7 +20,7 @@
import { defineComponent, onMounted, ref } from 'vue';
import { BasicTree, TreeItem } from '/@/components/Tree';
import { listDept } from '/@/api/platform/system/controller/dept';
import { listToTree } from "/@/utils/helper/treeHelper";
import { listToTree } from '/@/utils/helper/treeHelper';
export default defineComponent({
name: 'DeptTree',

8
kicc-ui/src/views/system/user/UserModal.vue

@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@
@ok="handleSubmit"
@register="registerModal"
>
<BasicForm @register="registerForm"/>
<BasicForm @register="registerForm" />
</BasicModal>
</template>
<script lang="ts">
@ -20,10 +20,10 @@ @@ -20,10 +20,10 @@
import { userFormSchema } from './user.data';
import { listDept } from '/@/api/platform/system/controller/dept';
import { addUser, editUser, getUser } from '/@/api/platform/system/controller/user';
import { listToTree } from "/@/utils/helper/treeHelper";
import { ModalProps } from "/@/components/Modal";
import { listToTree } from '/@/utils/helper/treeHelper';
import { ModalProps } from '/@/components/Modal';
import { findListNameById } from '/@/utils';
import { TreeItem } from "/@/components/Tree";
import { TreeItem } from '/@/components/Tree';
import { useMessage } from '/@/hooks/web/useMessage';
/** 类型规范统一声明定义区域 */

Loading…
Cancel
Save