From 0c27203594a48b4fbf8bb33e9a0d3894a27575dc Mon Sep 17 00:00:00 2001 From: whychdw <49690745@qq.com> Date: 星期二, 25 五月 2021 10:30:23 +0800 Subject: [PATCH] 更新面板弹出逻辑 --- src/components/smallModule/NewTest.vue | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/components/smallModule/NewTest.vue b/src/components/smallModule/NewTest.vue index fdc43e4..2e51f8f 100644 --- a/src/components/smallModule/NewTest.vue +++ b/src/components/smallModule/NewTest.vue @@ -8,7 +8,7 @@ </div> </div> <div class="new-test-content"> - <el-button class="block-button" type="primary" size="small">鏂板缓璇曢獙</el-button> + <el-button class="block-button" type="primary" size="small" :disabled="!to">鏂板缓璇曢獙</el-button> </div> </div> </template> @@ -36,6 +36,10 @@ type: Number, default: 0 }, + to: { + type: String, + default: "" + } }, data() { return { -- Gitblit v1.9.1