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