Browse Source

fix:删除子任务的type.d.ts

dxj
杜贤金 2 years ago
parent
commit
90c189dd34
  1. 2
      index.html
  2. BIN
      public/favicon.svg
  3. 6
      src/views/task/components/DailyTask/index.d.ts
  4. 2
      src/views/task/components/DailyTask/index.vue
  5. 6
      src/views/task/components/NoviceTask/index.d.ts
  6. 2
      src/views/task/components/NoviceTask/index.vue
  7. 6
      src/views/task/components/OtherTask/index.d.ts
  8. 2
      src/views/task/components/OtherTask/index.vue

2
index.html

@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>%VITE_GLOB_APP_TITLE%</title>
</head>

BIN
public/favicon.svg

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

6
src/views/task/components/DailyTask/index.d.ts vendored

@ -1,6 +0,0 @@
export interface TaskType {
name: string
points: number
status: number
id: string
}

2
src/views/task/components/DailyTask/index.vue

@ -1,7 +1,7 @@
<script lang="ts" setup>
import { onMounted, ref } from 'vue'
import { TaskList } from '../TaskList/index.ts'
import type { TaskType } from './index.d'
import type { TaskType } from '../TaskList/index.d'
import { dailyTask } from '@/api/task/index'
import { useTaskListStore } from '@/store/moules/taskListStore'

6
src/views/task/components/NoviceTask/index.d.ts vendored

@ -1,6 +0,0 @@
export interface TaskType {
name: string
points: number
status: number
id: string
}

2
src/views/task/components/NoviceTask/index.vue

@ -1,7 +1,7 @@
<script lang="ts" setup>
import { onBeforeMount, ref } from 'vue'
import { TaskList } from '../TaskList/index.ts'
import type { TaskType } from './index.d'
import type { TaskType } from '../TaskList/index.d'
import { noviceTask } from '@/api/task/index'
import { useTaskListStore } from '@/store/moules/taskListStore'

6
src/views/task/components/OtherTask/index.d.ts vendored

@ -1,6 +0,0 @@
export interface TaskType {
name: string
points: number
status: number
id: string
}

2
src/views/task/components/OtherTask/index.vue

@ -1,7 +1,7 @@
<script lang="ts" setup>
import { onMounted, ref } from 'vue'
import { TaskList } from '../TaskList/index.ts'
import type { TaskType } from './index.d'
import type { TaskType } from '../TaskList/index.d'
import { routineTask } from '@/api/task/index'
import { useTaskListStore } from '@/store/moules/taskListStore'

Loading…
Cancel
Save