mirror of
https://gitee.com/log4j/pig-ui.git
synced 2024-12-23 05:40:20 +08:00
feat: 代码优化
This commit is contained in:
parent
13497eb635
commit
6564360905
@ -3,7 +3,7 @@
|
|||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "PIGCLOUD微服务开发平台",
|
"description": "PIGCLOUD微服务开发平台",
|
||||||
"author": "pig4cloud",
|
"author": "pig4cloud",
|
||||||
"license": "MIT",
|
"license": "不对外分发 pig4cloud 版权所有,请购买商业版权",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite --force",
|
"dev": "vite --force",
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
|
|
||||||
<script setup lang="ts" name="OaLeaveBillDialog">
|
<script setup lang="ts" name="OaLeaveBillDialog">
|
||||||
import { useMessage } from "/@/hooks/message";
|
import { useMessage } from "/@/hooks/message";
|
||||||
import { getObj, addObj, putObj } from '../../../api/oa/leave-bill'
|
import { getObj, addObj, putObj } from '/@/api/oa/leave-bill'
|
||||||
import { useI18n } from "vue-i18n"
|
import { useI18n } from "vue-i18n"
|
||||||
import { useUserInfo } from "/@/stores/userInfo";
|
import { useUserInfo } from "/@/stores/userInfo";
|
||||||
const emit = defineEmits(['refresh']);
|
const emit = defineEmits(['refresh']);
|
||||||
|
@ -109,7 +109,6 @@
|
|||||||
// 多选事件
|
// 多选事件
|
||||||
const handleSelectionChange = (objs: any) => {
|
const handleSelectionChange = (objs: any) => {
|
||||||
selectObjs.value = []
|
selectObjs.value = []
|
||||||
console.log(objs)
|
|
||||||
objs.forEach((val: any) => {
|
objs.forEach((val: any) => {
|
||||||
selectObjs.value.push(val.id)
|
selectObjs.value.push(val.id)
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user