Parcourir la source

【解决todo】drawIn 没用啦

cherishsince il y a 11 mois
Parent
commit
fda50ff291
1 fichiers modifiés avec 0 ajouts et 5 suppressions
  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()
 }