mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			313 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			313 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
import {createApp} from 'vue';
 | 
						|
import PullRequestMergeForm from '../components/PullRequestMergeForm.vue';
 | 
						|
 | 
						|
export default function initPullRequestMergeForm() {
 | 
						|
  const el = document.getElementById('pull-request-merge-form');
 | 
						|
  if (!el) return;
 | 
						|
 | 
						|
  const view = createApp(PullRequestMergeForm);
 | 
						|
  view.mount(el);
 | 
						|
}
 |