mirror of
				https://github.com/soybeanjs/soybean-admin.git
				synced 2025-11-04 07:43:42 +08:00 
			
		
		
		
	refactor(projects): rename directory serviceAlova to service-alova
				
					
				
			This commit is contained in:
		@@ -1,6 +1,6 @@
 | 
			
		||||
<script setup lang="ts">
 | 
			
		||||
import { $t } from '@/locales';
 | 
			
		||||
import { fetchCustomBackendError } from '@/serviceAlova/api';
 | 
			
		||||
import { fetchCustomBackendError } from '@/service-alova/api';
 | 
			
		||||
 | 
			
		||||
async function logout() {
 | 
			
		||||
  await fetchCustomBackendError('8888', $t('request.logoutMsg'));
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
<script setup lang="ts">
 | 
			
		||||
import { actionDelegationMiddleware, useAutoRequest } from '@sa/alova/client';
 | 
			
		||||
import { ref } from 'vue';
 | 
			
		||||
import { alova } from '@/serviceAlova/request';
 | 
			
		||||
import { alova } from '@/service-alova/request';
 | 
			
		||||
 | 
			
		||||
const getLastTime = alova.Get<{ time: string }>('/mock/getLastTime', { cacheFor: null });
 | 
			
		||||
const isStop = ref(false);
 | 
			
		||||
 
 | 
			
		||||
@@ -3,7 +3,7 @@ import { computed } from 'vue';
 | 
			
		||||
import { actionDelegationMiddleware, useCaptcha, useForm } from '@sa/alova/client';
 | 
			
		||||
import { $t } from '@/locales';
 | 
			
		||||
import { useFormRules, useNaiveForm } from '@/hooks/common/form';
 | 
			
		||||
import { sendCaptcha, verifyCaptcha } from '@/serviceAlova/api';
 | 
			
		||||
import { sendCaptcha, verifyCaptcha } from '@/service-alova/api';
 | 
			
		||||
 | 
			
		||||
defineOptions({
 | 
			
		||||
  name: 'CaptchaVerification'
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
<script setup lang="ts">
 | 
			
		||||
import { actionDelegationMiddleware, useAutoRequest } from '@sa/alova/client';
 | 
			
		||||
import { ref } from 'vue';
 | 
			
		||||
import { alova } from '@/serviceAlova/request';
 | 
			
		||||
import { alova } from '@/service-alova/request';
 | 
			
		||||
 | 
			
		||||
const getLastTime = alova.Get<{ time: string }>('/mock/getLastTime', { cacheFor: null });
 | 
			
		||||
const isStop = ref(false);
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
<script setup lang="ts">
 | 
			
		||||
import { actionDelegationMiddleware, useAutoRequest } from '@sa/alova/client';
 | 
			
		||||
import { ref } from 'vue';
 | 
			
		||||
import { alova } from '@/serviceAlova/request';
 | 
			
		||||
import { alova } from '@/service-alova/request';
 | 
			
		||||
 | 
			
		||||
const getLastTime = alova.Get<{ time: string }>('/mock/getLastTime', { cacheFor: null });
 | 
			
		||||
const isStop = ref(false);
 | 
			
		||||
 
 | 
			
		||||
@@ -2,7 +2,7 @@
 | 
			
		||||
import { NButton, NPopconfirm, NTag } from 'naive-ui';
 | 
			
		||||
import { usePagination } from '@sa/alova/client';
 | 
			
		||||
import { reactive } from 'vue';
 | 
			
		||||
import { batchDeleteUser, deleteUser, fetchGetUserList } from '@/serviceAlova/api';
 | 
			
		||||
import { batchDeleteUser, deleteUser, fetchGetUserList } from '@/service-alova/api';
 | 
			
		||||
import { $t } from '@/locales';
 | 
			
		||||
import { useAppStore } from '@/store/modules/app';
 | 
			
		||||
import { enableStatusRecord, userGenderRecord } from '@/constants/business';
 | 
			
		||||
 
 | 
			
		||||
@@ -2,8 +2,8 @@
 | 
			
		||||
import { computed, watch } from 'vue';
 | 
			
		||||
import { useForm, useWatcher } from '@sa/alova/client';
 | 
			
		||||
import { useFormRules, useNaiveForm } from '@/hooks/common/form';
 | 
			
		||||
import type { UserModel } from '@/serviceAlova/api';
 | 
			
		||||
import { addUser, fetchGetAllRoles, updateUser } from '@/serviceAlova/api';
 | 
			
		||||
import type { UserModel } from '@/service-alova/api';
 | 
			
		||||
import { addUser, fetchGetAllRoles, updateUser } from '@/service-alova/api';
 | 
			
		||||
import { $t } from '@/locales';
 | 
			
		||||
import { enableStatusOptions, userGenderOptions } from '@/constants/business';
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user