From a39ecd5544f7dcfbb39c90646a60dbe6da56b6e2 Mon Sep 17 00:00:00 2001 From: yangyong8650 Date: Thu, 1 Apr 2021 09:31:20 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E6=A0=BC=E5=BC=8F=E5=88=B7?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E6=A0=BC=E5=BC=8F=E6=97=A0=E6=95=88=E7=AD=89?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/selection.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/controllers/selection.js b/src/controllers/selection.js index d0045a8..021f0c4 100644 --- a/src/controllers/selection.js +++ b/src/controllers/selection.js @@ -1765,7 +1765,10 @@ const selection = { } if(getObjType(x[c]) == "object"){ - + let format = ['bg','fc','ct','ht','vt','bl','it','cl','un','fs','ff','tb'] + format.forEach(item=>{ + Reflect.deleteProperty(x[c],item); + }) } else{ x[c] = {"v": x[c] };