diff --git a/ui/src/App.vue b/ui/src/App.vue
index 0d52415..d7a9bbf 100644
--- a/ui/src/App.vue
+++ b/ui/src/App.vue
@@ -52,20 +52,19 @@ provide('steps', steps)
加载中
-
-
-
-
-
-
-
+
+
+
+
+
diff --git a/ui/src/components/FloatButton.vue b/ui/src/components/FloatButton.vue
index 4509c77..fdd9b7d 100644
--- a/ui/src/components/FloatButton.vue
+++ b/ui/src/components/FloatButton.vue
@@ -8,8 +8,6 @@ const steps = inject('steps')
const current_step = inject('current_step')
const current_state = inject('current_state')
-const notification = useNotification()
-
async function start() {
log.value = ''
running.value = true
@@ -22,37 +20,25 @@ async function start() {
}
current_state.value = 'finish'
running.value = false
- notification['info']({
- content: '提示',
- meta: '命令运行完成',
- duration: 3000
- })
}
-
+
+ {{ running ? '' : '运行' }}