mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 10:18:42 +08:00 
			
		
		
		
	v3.7.0 优化提示
This commit is contained in:
		| @@ -47,14 +47,6 @@ export default { | |||||||
|       const themeCluster = this.getThemeCluster(val.replace('#', '')) |       const themeCluster = this.getThemeCluster(val.replace('#', '')) | ||||||
|       const originalCluster = this.getThemeCluster(oldVal.replace('#', '')) |       const originalCluster = this.getThemeCluster(oldVal.replace('#', '')) | ||||||
|  |  | ||||||
|       const $message = this.$message({ |  | ||||||
|         message: '  正在切换主题,请稍后...', |  | ||||||
|         customClass: 'theme-message', |  | ||||||
|         type: 'success', |  | ||||||
|         duration: 0, |  | ||||||
|         iconClass: 'el-icon-loading' |  | ||||||
|       }) |  | ||||||
|  |  | ||||||
|       const getHandler = (variable, id) => { |       const getHandler = (variable, id) => { | ||||||
|         return () => { |         return () => { | ||||||
|           const originalCluster = this.getThemeCluster(ORIGINAL_THEME.replace('#', '')) |           const originalCluster = this.getThemeCluster(ORIGINAL_THEME.replace('#', '')) | ||||||
| @@ -91,9 +83,6 @@ export default { | |||||||
|       }) |       }) | ||||||
|  |  | ||||||
|       this.$emit('change', val) |       this.$emit('change', val) | ||||||
|  |  | ||||||
|       $message.close() |  | ||||||
|  |  | ||||||
|     }, |     }, | ||||||
|  |  | ||||||
|     updateStyle(style, oldCluster, newCluster) { |     updateStyle(style, oldCluster, newCluster) { | ||||||
|   | |||||||
| @@ -73,7 +73,7 @@ service.interceptors.response.use(res => { | |||||||
|           location.href = '/index'; |           location.href = '/index'; | ||||||
|         }) |         }) | ||||||
|       }).catch(() => {}); |       }).catch(() => {}); | ||||||
|       return Promise.reject('令牌验证失败') |       return Promise.reject('无效的会话,或者会话已过期,请重新登录。') | ||||||
|     } else if (code === 500) { |     } else if (code === 500) { | ||||||
|       Message({ |       Message({ | ||||||
|         message: msg, |         message: msg, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 YunaiV
					YunaiV