diff --git a/public/react/src/modules/courses/exercise/Testpapersettinghomepage.js b/public/react/src/modules/courses/exercise/Testpapersettinghomepage.js
index 6c7a35058..aac519410 100644
--- a/public/react/src/modules/courses/exercise/Testpapersettinghomepage.js
+++ b/public/react/src/modules/courses/exercise/Testpapersettinghomepage.js
@@ -249,6 +249,17 @@ class Testpapersettinghomepage extends Component{
 	// 		DownloadMessageval:undefined
 	// 	})
 	// }
+	getsetdata =()=>{
+    	let{tab}=this.state;
+    	try {
+				if(tab[0]===0){
+         console.log(this.child);
+				}
+			}catch (e) {
+
+			}
+
+	}
   bindRef = ref => { this.child = ref };
 	goback=()=>{
 		// let {datalist}=this.state;
@@ -410,6 +421,7 @@ class Testpapersettinghomepage extends Component{
                                     Exercisetype={"exercise"}
 									               action={this.Commonheadofthetestpaper}
                                     single={true}
+																		getsetdata={()=>this.getsetdata()}
                                 ></ImmediatelyPublish>
                                :"":""}
                                 {isAdmin  === true? <Link className="fr color-blue font-16 mt20 mr20" to={`/courses/${this.props.match.params.coursesId}/exercises/${this.props.match.params.Id}/edit`}>编辑试卷</Link>:""}