forked from ruoyi/RuoYi-Vue
		
	新增通用方法简化模态/缓存使用
This commit is contained in:
		
							
								
								
									
										11
									
								
								ruoyi-ui/src/plugins/index.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								ruoyi-ui/src/plugins/index.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,11 @@ | ||||
| import cache from './cache' | ||||
| import modal from './modal' | ||||
|  | ||||
| export default { | ||||
|   install(Vue) { | ||||
|     // 缓存对象 | ||||
|     Vue.prototype.$cache = cache | ||||
|     // 模态框对象 | ||||
|     Vue.prototype.$modal = modal | ||||
|   } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 RuoYi
					RuoYi