feat: 代码优化

This commit is contained in:
lbw 2023-03-04 20:13:48 +08:00
parent 13497eb635
commit 6564360905
3 changed files with 2 additions and 3 deletions

View File

@ -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",

View File

@ -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']);

View File

@ -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)
}); });