Browse Source

chore(nc-gui): lint

pull/4458/head
Wing-Kam Wong 2 years ago
parent
commit
eedea07bea
  1. 4
      packages/nc-gui/components/cell/Percent.vue
  2. 2
      packages/nc-gui/components/smartsheet/Grid.vue

4
packages/nc-gui/components/cell/Percent.vue

@ -1,6 +1,6 @@
<script setup lang="ts">
import type { VNodeRef } from '@vue/runtime-core'
import { EditModeInj, inject, useVModel } from '#imports'
import { VNodeRef } from '@vue/runtime-core'
interface Props {
modelValue?: number | string | null
@ -21,8 +21,8 @@ const focus: VNodeRef = (el) => {
<template>
<input
:ref="focus"
v-if="editEnabled"
:ref="focus"
v-model="vModel"
class="w-full !border-none text-base"
:class="{ '!px-2': editEnabled }"

2
packages/nc-gui/components/smartsheet/Grid.vue

@ -711,7 +711,7 @@ watch(
@mouseover="selectBlock(rowIndex, colIndex)"
@contextmenu="showContextMenu($event, { row: rowIndex, col: colIndex })"
>
<div class="w-full h-full" v-if="!switchingTab">
<div v-if="!switchingTab" class="w-full h-full">
<LazySmartsheetVirtualCell
v-if="isVirtualCol(columnObj)"
v-model="row.row[columnObj.title]"

Loading…
Cancel
Save