From 273d934f71418d9897d773cad3e0422a3255f3b0 Mon Sep 17 00:00:00 2001 From: zhanghongchuan33 Date: Sat, 7 May 2022 15:35:47 +0800 Subject: [PATCH] Log printing Signed-off-by: zhanghongchuan33 --- .../src/main/resources/rawfile/rich_editor.js | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/common/resources/src/main/resources/rawfile/rich_editor.js b/common/resources/src/main/resources/rawfile/rich_editor.js index f14a761..dbaadda 100644 --- a/common/resources/src/main/resources/rawfile/rich_editor.js +++ b/common/resources/src/main/resources/rawfile/rich_editor.js @@ -12,9 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import {LogUtil} from '@ohos/utils/src/main/ets/default/baseUtil/LogUtil' -const TAG = "Rich_Editor" var RICH_EDITOR = {}; @@ -85,7 +83,7 @@ RICH_EDITOR.getListStyle = function () { } } } catch (err) { - LogUtil.error(TAG, err) + console.error(err) } } @@ -115,7 +113,7 @@ RICH_EDITOR.setNumbers = function () { } } } catch (err) { - LogUtil.error(TAG, err) + console.error(err) } } } @@ -144,7 +142,7 @@ RICH_EDITOR.setABC = function () { } } } catch (err) { - LogUtil.error(TAG, err) + console.error(err) } } } @@ -173,7 +171,7 @@ RICH_EDITOR.setBullets = function () { } } } catch (err) { - LogUtil.error(TAG, err) + console.error(err) } } } @@ -202,7 +200,7 @@ RICH_EDITOR.setSquare = function () { } } } catch (err) { - LogUtil.error(TAG, err) + console.error(err) } } } -- Gitee