27926
This commit is contained in:
		
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -25,4 +25,3 @@ yarn-error.log* | |||||||
| /oms/dist/ | /oms/dist/ | ||||||
| /project/*/index.js | /project/*/index.js | ||||||
| /project/*/dist | /project/*/dist | ||||||
| /examples/entries.js |  | ||||||
|   | |||||||
| @@ -1,22 +0,0 @@ | |||||||
| //引入当前工程所有的应用 |  | ||||||
| const install = function(Vue) { |  | ||||||
| 	if (install.installed) return Promise.resolve(); |  | ||||||
| 	else { |  | ||||||
| 		let contexts = require.context('../project/xiushan', true, /(\/.+)\/App[^\/]+\.vue$/); |  | ||||||
| 		if (contexts) { |  | ||||||
| 			contexts.keys().map((e) => { |  | ||||||
| 				if (contexts(e).default) { |  | ||||||
| 					Vue.component(contexts(e).default.name, contexts(e).default); |  | ||||||
| 				} |  | ||||||
| 			}); |  | ||||||
| 		} |  | ||||||
| 	} |  | ||||||
| }; |  | ||||||
| // 判断是否是直接引入文件 |  | ||||||
| if (typeof window !== 'undefined' && window.Vue) { |  | ||||||
| 	install(window.Vue); |  | ||||||
| } |  | ||||||
| export default { |  | ||||||
| 	// 导出的对象必须具有 install,才能被 Vue.use() 方法安装 |  | ||||||
| 	install |  | ||||||
| }; |  | ||||||
| @@ -23,7 +23,7 @@ | |||||||
|             type="date" |             type="date" | ||||||
|             size="small" |             size="small" | ||||||
|             unlink-panels |             unlink-panels | ||||||
|             placeholder="选择开始日期" |             placeholder="请选择发布开始日期" | ||||||
|             @change="search.current = 1, getList()" /> |             @change="search.current = 1, getList()" /> | ||||||
|           <el-date-picker |           <el-date-picker | ||||||
|             value-format="yyyy-MM-dd" |             value-format="yyyy-MM-dd" | ||||||
| @@ -31,7 +31,7 @@ | |||||||
|             type="date" |             type="date" | ||||||
|             size="small" |             size="small" | ||||||
|             unlink-panels |             unlink-panels | ||||||
|             placeholder="选择结束日期" |             placeholder="请选择发布结束日期" | ||||||
|             @change="search.current = 1, getList()" /> |             @change="search.current = 1, getList()" /> | ||||||
|         </template> |         </template> | ||||||
|         <template #right> |         <template #right> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user