mirror of
https://github.com/yangjian102621/geekai.git
synced 2026-04-25 20:44:29 +08:00
给所有的 AI 任务提交按钮添加loading状态
This commit is contained in:
@@ -137,7 +137,7 @@
|
||||
<div class="flex justify-center">
|
||||
<button
|
||||
@click="store.createLumaVideo"
|
||||
:loading="store.generating"
|
||||
:disabled="store.generating"
|
||||
class="w-full py-3 bg-gradient-to-r from-blue-500 to-purple-600 text-white rounded-xl disabled:from-gray-400 disabled:to-gray-400 disabled:cursor-not-allowed hover:from-blue-600 hover:to-purple-700 transition-all duration-200 flex items-center justify-center space-x-2 text-base"
|
||||
>
|
||||
<i v-if="store.generating" class="iconfont icon-loading animate-spin"></i>
|
||||
@@ -455,7 +455,7 @@
|
||||
<div class="flex justify-center">
|
||||
<button
|
||||
@click="store.createKelingVideo"
|
||||
:loading="store.generating"
|
||||
:disabled="store.generating"
|
||||
class="w-full py-3 bg-gradient-to-r from-blue-500 to-purple-600 text-white rounded-xl disabled:from-gray-400 disabled:to-gray-400 disabled:cursor-not-allowed hover:from-blue-600 hover:to-purple-700 transition-all duration-200 flex items-center justify-center space-x-2 text-base"
|
||||
>
|
||||
<i v-if="store.generating" class="iconfont icon-loading animate-spin"></i>
|
||||
|
||||
Reference in New Issue
Block a user