Browse Source

fix: 多选 人员 展示不全

lanceJiang 1 year ago
parent
commit
4d9cd18627
2 changed files with 2 additions and 1 deletions
  1. 1 1
      src/views/approve/launch/ItemDrawer.vue
  2. 1 0
      tsconfig.json

+ 1 - 1
src/views/approve/launch/ItemDrawer.vue

@@ -24,7 +24,7 @@
 					</template>
 					<template v-else>
 						<div style="padding-bottom: 6px">{{ v.nodeName }}</div>
-						<div v-if="assigneeMap[v.local_name]" style="display: flex; align-items: center; gap: 6px">
+						<div v-if="assigneeMap[v.local_name]" style="display: flex; align-items: center; gap: 6px; flex-wrap: wrap">
 							<template v-if="assigneeMap[v.local_name].type === 1">
 								<el-tooltip v-if="!assigneeMap[v.local_name].disabled" content="添加用户" placement="left">
 									<el-button style="width: 32px" @click="selectHandler(v.local_name, 1)">

+ 1 - 0
tsconfig.json

@@ -14,6 +14,7 @@
     "isolatedModules": true,
     "noEmit": true,
     "jsx": "preserve",
+    "allowJs": true,
 
     /* Linting */
     "strict": true,