From 8f423bea29139dd3d3014231b43dda42528f69e8 Mon Sep 17 00:00:00 2001 From: FairyEver <1711467488@qq.com> Date: Tue, 11 Jan 2022 15:11:28 +0800 Subject: [PATCH] feat: hideSurelyVueTableWatermarkOnDev --- d2/utils/helper/surely-vue.js | 2 +- d2/views/dashboard/demo/component/s-table/index.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/d2/utils/helper/surely-vue.js b/d2/utils/helper/surely-vue.js index c2898857..54bda8de 100644 --- a/d2/utils/helper/surely-vue.js +++ b/d2/utils/helper/surely-vue.js @@ -14,7 +14,7 @@ // 3. If you choose to use the method in this project to remove the watermark in the online project, you can only bear all the consequences // 4. D2Admin (https://github.com/d2-projects/d2-admin) does not use this method to hide watermarks in any production environment -export function hideSurelyVueTableWatermark () { +export function hideSurelyVueTableWatermarkOnDev () { if (import.meta.env.PROD || location.hostname !== 'localhost') return clean( 'div.surely-table > div', diff --git a/d2/views/dashboard/demo/component/s-table/index.vue b/d2/views/dashboard/demo/component/s-table/index.vue index ae9307e6..7e675ebb 100644 --- a/d2/views/dashboard/demo/component/s-table/index.vue +++ b/d2/views/dashboard/demo/component/s-table/index.vue @@ -10,7 +10,7 @@