mirror of
				https://github.com/YunaiV/ruoyi-vue-pro.git
				synced 2025-11-01 03:28:41 +08:00 
			
		
		
		
	fix
This commit is contained in:
		| @ -4,7 +4,7 @@ import XEUtils from 'xe-utils' | ||||
| import './renderer' | ||||
| import { i18n } from '@/plugins/vueI18n' | ||||
| import zhCN from 'vxe-table/es/locale/lang/zh-CN' | ||||
| import enUS from 'vxe-table/lib/locale/lang/en-US' | ||||
| import enUS from 'vxe-table/es/locale/lang/en-US' | ||||
| import { | ||||
|   // 全局对象 | ||||
|   VXETable, | ||||
|  | ||||
| @ -87,8 +87,8 @@ | ||||
| </template> | ||||
| <script setup lang="ts"> | ||||
| import { ref, reactive, watch, Ref, UnwrapNestedRefs } from 'vue' | ||||
| import 'vue-cropper/dist/index.css' | ||||
| import VueCropper from 'vue-cropper/lib/vue-cropper.vue' | ||||
| import 'vue-cropper/dist/index.css' | ||||
| import { ElRow, ElCol, ElUpload, ElMessage, ElDialog } from 'element-plus' | ||||
| import { propTypes } from '@/utils/propTypes' | ||||
| import { uploadAvatarApi } from '@/api/system/user/profile' | ||||
|  | ||||
| @ -87,11 +87,11 @@ export default ({ command, mode }: ConfigEnv): UserConfig => { | ||||
|       PurgeIcons(), | ||||
|       viteCompression({ | ||||
|         verbose: true, // 是否在控制台输出压缩结果 | ||||
|         disable: true, // 是否禁用 | ||||
|         disable: false, // 是否禁用 | ||||
|         threshold: 10240, // 体积大于 threshold 才会被压缩,单位 b | ||||
|         algorithm: 'gzip', // 压缩算法,可选 [ 'gzip' , 'brotliCompress' ,'deflate' , 'deflateRaw'] | ||||
|         ext: '.gz', // 生成的压缩包后缀 | ||||
|         deleteOriginFile: false //压缩后是否删除源文件 | ||||
|         deleteOriginFile: true //压缩后是否删除源文件 | ||||
|       }), | ||||
|       createHtmlPlugin({ | ||||
|         inject: { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 xingyu4j
					xingyu4j