mirror of
				https://github.com/YunaiV/ruoyi-vue-pro.git
				synced 2025-10-31 10:37:41 +08:00 
			
		
		
		
	fix: 打包后页面跳转问题
This commit is contained in:
		| @ -55,31 +55,33 @@ watch( | |||||||
| </script> | </script> | ||||||
|  |  | ||||||
| <template> | <template> | ||||||
|   <router-link |   <div> | ||||||
|     :class="[ |     <router-link | ||||||
|       prefixCls, |  | ||||||
|       layout !== 'classic' ? `${prefixCls}__Top` : '', |  | ||||||
|       'flex !h-[var(--logo-height)] items-center cursor-pointer justify-center relative', |  | ||||||
|       'dark:bg-[var(--el-bg-color)]' |  | ||||||
|     ]" |  | ||||||
|     to="/" |  | ||||||
|   > |  | ||||||
|     <img |  | ||||||
|       src="@/assets/imgs/logo.png" |  | ||||||
|       class="w-[calc(var(--logo-height)-10px)] h-[calc(var(--logo-height)-10px)]" |  | ||||||
|     /> |  | ||||||
|     <div |  | ||||||
|       v-if="show" |  | ||||||
|       :class="[ |       :class="[ | ||||||
|         'ml-10px text-16px font-700', |         prefixCls, | ||||||
|         { |         layout !== 'classic' ? `${prefixCls}__Top` : '', | ||||||
|           'text-[var(--logo-title-text-color)]': layout === 'classic', |         'flex !h-[var(--logo-height)] items-center cursor-pointer justify-center relative', | ||||||
|           'text-[var(--top-header-text-color)]': |         'dark:bg-[var(--el-bg-color)]' | ||||||
|             layout === 'topLeft' || layout === 'top' || layout === 'cutMenu' |  | ||||||
|         } |  | ||||||
|       ]" |       ]" | ||||||
|  |       to="/" | ||||||
|     > |     > | ||||||
|       {{ title }} |       <img | ||||||
|     </div> |         src="@/assets/imgs/logo.png" | ||||||
|   </router-link> |         class="w-[calc(var(--logo-height)-10px)] h-[calc(var(--logo-height)-10px)]" | ||||||
|  |       /> | ||||||
|  |       <div | ||||||
|  |         v-if="show" | ||||||
|  |         :class="[ | ||||||
|  |           'ml-10px text-16px font-700', | ||||||
|  |           { | ||||||
|  |             'text-[var(--logo-title-text-color)]': layout === 'classic', | ||||||
|  |             'text-[var(--top-header-text-color)]': | ||||||
|  |               layout === 'topLeft' || layout === 'top' || layout === 'cutMenu' | ||||||
|  |           } | ||||||
|  |         ]" | ||||||
|  |       > | ||||||
|  |         {{ title }} | ||||||
|  |       </div> | ||||||
|  |     </router-link> | ||||||
|  |   </div> | ||||||
| </template> | </template> | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 xingyu
					xingyu