Browse Source

【解决todo】drawIn 没用啦

cherishsince 11 tháng trước cách đây
mục cha
commit
fda50ff291
1 tập tin đã thay đổi với 0 bổ sung5 xóa
  1. 0 5
      src/views/ai/image/index.vue

+ 0 - 5
src/views/ai/image/index.vue

@@ -60,18 +60,13 @@ const platformOptions = [
     value: AiPlatformEnum.STABLE_DIFFUSION
   }
 ]
-const drawIn = ref<boolean>(false) // 生成中
 
 /**  绘画 - start  */
 const handleDrawStart = async (type) => {
-  // todo @fan:这个是不是没用啦?
-  drawIn.value = true
 }
 
 /**  绘画 - complete  */
 const handleDrawComplete = async (type) => {
-  drawIn.value = false
-  // todo
   await imageTaskRef.value.getImageList()
 }