mirror of https://github.com/ElemeFE/element
				
				
				
			doc fix
							parent
							
								
									3c3bfebe41
								
							
						
					
					
						commit
						947cd99df4
					
				|  | @ -97,6 +97,7 @@ | |||
|     created() { | ||||
|       window.addEventListener('hashchange', () => { | ||||
|         document.body.scrollTop = 0; | ||||
|         document.documentElement.scrollTop = 0; | ||||
|       }); | ||||
|     } | ||||
|   }; | ||||
|  |  | |||
|  | @ -51,10 +51,12 @@ | |||
|    | ||||
|   .footer-nav-left { | ||||
|     float: left; | ||||
|     margin-left: -4px; | ||||
|   } | ||||
|    | ||||
|   .footer-nav-right { | ||||
|     float: right; | ||||
|     margin-right: -4px; | ||||
|   } | ||||
| </style> | ||||
| 
 | ||||
|  |  | |||
|  | @ -170,7 +170,7 @@ | |||
|       v-model="value3" | ||||
|       type="datetimerange" | ||||
|       placeholder="选择时间范围" | ||||
|       style="width:260px"> | ||||
|       style="width:350px"> | ||||
|     </el-date-picker> | ||||
|   </div> | ||||
|   <div class="block"> | ||||
|  | @ -180,7 +180,8 @@ | |||
|       type="datetimerange" | ||||
|       :picker-options="pickerOptions2" | ||||
|       placeholder="选择时间范围" | ||||
|       style="width:260px"> | ||||
|       align="right" | ||||
|       style="width:350px"> | ||||
|     </el-date-picker> | ||||
|   </div> | ||||
| </template> | ||||
|  |  | |||
|  | @ -63,8 +63,15 @@ | |||
|         if (node.level === -1) { | ||||
|           return resolve([{ name: 'Root1' }, { name: 'Root2' }]); | ||||
|         } | ||||
|         var hasChild = Math.random() > 0.5; | ||||
|         if (node.level > 4) return resolve([]); | ||||
|         var hasChild; | ||||
|         if (node.data.name === 'Root1') { | ||||
|           hasChild = true; | ||||
|         } else if (node.data.name === 'Root2') { | ||||
|           hasChild = false;           | ||||
|         } else { | ||||
|           hasChild = Math.random() > 0.5; | ||||
|         } | ||||
| 
 | ||||
|         setTimeout(function() { | ||||
|           var data; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Leopoldthecoder
						Leopoldthecoder