mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-04 12:18:42 +08:00 
			
		
		
		
	fix: vue3 代码生成错误
This commit is contained in:
		@@ -1,8 +1,6 @@
 | 
			
		||||
import { useAxios } from '@/hooks/web/useAxios'
 | 
			
		||||
import request from '@/config/axios'
 | 
			
		||||
import { ${simpleClassName}VO, ${simpleClassName}PageReqVO, ${simpleClassName}ExcelReqVO } from './types'
 | 
			
		||||
 | 
			
		||||
const request = useAxios()
 | 
			
		||||
 | 
			
		||||
#set ($baseURL = "/${table.moduleName}/${simpleClassName_strikeCase}")
 | 
			
		||||
// 查询${table.classComment}列表
 | 
			
		||||
export const get${simpleClassName}PageApi = async (params: ${simpleClassName}PageReqVO) => {
 | 
			
		||||
 
 | 
			
		||||
@@ -6,9 +6,9 @@ import { DICT_TYPE } from '@/utils/dict'
 | 
			
		||||
import { useTable } from '@/hooks/web/useTable'
 | 
			
		||||
import { useI18n } from '@/hooks/web/useI18n'
 | 
			
		||||
import { FormExpose } from '@/components/Form'
 | 
			
		||||
import type { ${simpleClassName}VO } from '@/api/${table.moduleName}/${simpleClassName}/types'
 | 
			
		||||
import { rules, allSchemas } from './${simpleClassName}.data'
 | 
			
		||||
import * as ${simpleClassName}Api from '@/api/${table.moduleName}/${simpleClassName}'
 | 
			
		||||
import type { ${simpleClassName}VO } from '@/api/${table.moduleName}/${classNameVar}/types'
 | 
			
		||||
import { rules, allSchemas } from './${classNameVar}.data'
 | 
			
		||||
import * as ${simpleClassName}Api from '@/api/${table.moduleName}/${classNameVar}'
 | 
			
		||||
const { t } = useI18n() // 国际化
 | 
			
		||||
 | 
			
		||||
// ========== 列表相关 ==========
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user