整理した
This commit is contained in:
		
							
								
								
									
										24
									
								
								src/client/app/desktop/views/components/settings-window.vue
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								src/client/app/desktop/views/components/settings-window.vue
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,24 @@ | ||||
| <template> | ||||
| <mk-window ref="window" is-modal width="700px" height="550px" @closed="$destroy"> | ||||
| 	<span slot="header" :class="$style.header">%fa:cog%設定</span> | ||||
| 	<mk-settings @done="close"/> | ||||
| </mk-window> | ||||
| </template> | ||||
|  | ||||
| <script lang="ts"> | ||||
| import Vue from 'vue'; | ||||
| export default Vue.extend({ | ||||
| 	methods: { | ||||
| 		close() { | ||||
| 			(this as any).$refs.window.close(); | ||||
| 		} | ||||
| 	} | ||||
| }); | ||||
| </script> | ||||
|  | ||||
| <style lang="stylus" module> | ||||
| .header | ||||
| 	> [data-fa] | ||||
| 		margin-right 4px | ||||
|  | ||||
| </style> | ||||
		Reference in New Issue
	
	Block a user
	 syuilo
					syuilo