From f393af9623c26ae177a3f69b8676afc4e23bff8d Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 08 二月 2022 14:48:51 +0800 Subject: [PATCH] 2022-02-08 --- src/views/mobdesign/index.jsx | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/views/mobdesign/index.jsx b/src/views/mobdesign/index.jsx index 7145ac9..978d229 100644 --- a/src/views/mobdesign/index.jsx +++ b/src/views/mobdesign/index.jsx @@ -1464,6 +1464,15 @@ insert = (item) => { let config = fromJS(this.state.config).toJS() + if (item.type === 'search') { + notification.warning({ + top: 92, + message: '绉诲姩绔悳绱㈢粍浠朵笉鍙矘璐达紒', + duration: 5 + }) + return + } + if (item.type === 'topbar') { if (config.components.findIndex(m => m.type === 'topbar') > -1) { notification.warning({ -- Gitblit v1.8.0