소스 검색

chore(about): 移除未使用的recommendUrl变量并整理代码格式

feige996 9 달 전
부모
커밋
37021672b3
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      src/pages/about/components/request.vue

+ 1 - 2
src/pages/about/components/request.vue

@@ -2,13 +2,12 @@
 import type { IFooItem } from '@/api/foo'
 import { getFooAPI } from '@/api/foo'
 
-const recommendUrl = ref('http://laf.run/signup?code=ohaOgIX')
-
 // const initialData = {
 //   name: 'initialData',
 //   id: '1234',
 // }
 const initialData = undefined
+
 const { loading, error, data, run } = useRequest<IFooItem>(() => getFooAPI('菲鸽'), {
   immediate: true,
   initialData,