fix:矩阵题优化

This commit is contained in:
du.meimei
2025-03-25 19:02:39 +08:00
parent 26b68d2b37
commit e7c6ea225c
2 changed files with 4 additions and 4 deletions

2
components.d.ts vendored
View File

@@ -2,7 +2,7 @@
// @ts-nocheck
// Generated by unplugin-vue-components
// Read more: https://github.com/vuejs/core/pull/3399
export {}
export {};
/* prettier-ignore */
declare module 'vue' {

View File

@@ -141,7 +141,7 @@ const errorMessage = defineModel('errorMessage', {
</template>
<template #default="{ row /*, column, $index*/ }">
<div style="position: relative" class="flex align-center space-between">
<div :style="{ width: `${tableWidth - 50}px` }">
<div :style="{ width: `${tableWidth - 30}px` }">
<contenteditable v-model="row.option" :active="active" @blur="emitValue" />
</div>
<van-popover
@@ -168,7 +168,7 @@ const errorMessage = defineModel('errorMessage', {
>
<template #header>
<div class="flex align-center space-between">
<div :style="{ width: `${tableWidth - 20}px` }">
<div :style="{ width: `${tableWidth - 10}px` }" style="color: #606266">
<contenteditable v-model="col.option" :active="active" @blur="emitValue" />
</div>
<van-popover
@@ -221,7 +221,7 @@ input[type='text'] {
//position: absolute;
//top: 15%;
//right: 0;
color: #606266;
& > svg {
height: 15px;
}