From d2975d5aac94db026aa383a96eafd188b86d6685 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Tue, 18 Jul 2023 02:01:57 +0800 Subject: [PATCH] :sparkles: fix https://github.com/siyuan-note/siyuan/issues/8769 --- app/src/protyle/render/av/col.ts | 80 ++++++++++++++++++++++++++++++-- 1 file changed, 75 insertions(+), 5 deletions(-) diff --git a/app/src/protyle/render/av/col.ts b/app/src/protyle/render/av/col.ts index 5baee5f17..708fa109b 100644 --- a/app/src/protyle/render/av/col.ts +++ b/app/src/protyle/render/av/col.ts @@ -6,7 +6,7 @@ import {getDefaultOperatorByType, setFilter} from "./filter"; import {genCellValue} from "./cell"; import {openMenuPanel} from "./openMenuPanel"; -export const duplicateCol = (protyle: IProtyle, type: TAVCol, avID: string, colId: string, newValue:string) => { +export const duplicateCol = (protyle: IProtyle, type: TAVCol, avID: string, colId: string, newValue: string) => { const id = Lute.NewNodeID(); const nameMatch = newValue.match(/^(.*) \((\d+)\)$/); if (nameMatch) { @@ -87,14 +87,14 @@ export const getEditHTML = (options: { `; if (colData.options && colData.options.length > 0) { html += ` ` colData.options.forEach(item => { html += `