From 0f67147f8c4914c675317532135a4dc704730f10 Mon Sep 17 00:00:00 2001 From: gaoyuanwei <2826352639@qq.com> Date: Thu, 30 Jun 2022 18:52:54 +0800 Subject: [PATCH] .ant-message --- .../components/Developer/DeveloperTrial.vue | 15 +++++++++++++++ .../views/newHome/components/PopularAbility.vue | 12 ++++++------ .../src/views/newHome/components/WorkDynamics.vue | 4 ++-- .../views/personalCenter/components/MyPublish.vue | 4 ++-- 4 files changed, 25 insertions(+), 10 deletions(-) diff --git a/front/src/views/detailsAll/components/Developer/DeveloperTrial.vue b/front/src/views/detailsAll/components/Developer/DeveloperTrial.vue index 32d723e1..aa3918f2 100644 --- a/front/src/views/detailsAll/components/Developer/DeveloperTrial.vue +++ b/front/src/views/detailsAll/components/Developer/DeveloperTrial.vue @@ -80,6 +80,16 @@ oInput.remove() // 执行浏览器复制命令 message.success(name + '成功') } + message.config({ + top: '100px', // 距离顶部的位置 + }) + // const success = () => { + // message.success({ + // // content: 'This is a prompt message with custom className and style', + // className: 'custom-class', + // style: {}, + // }) + // } watch( () => props.dataList, (val) => { @@ -157,3 +167,8 @@ } } + diff --git a/front/src/views/newHome/components/PopularAbility.vue b/front/src/views/newHome/components/PopularAbility.vue index 66f7475a..82206d55 100644 --- a/front/src/views/newHome/components/PopularAbility.vue +++ b/front/src/views/newHome/components/PopularAbility.vue @@ -16,7 +16,7 @@ > {{ sel }} @@ -32,7 +32,7 @@