vueテーブルのボタンによるパラメータとバックエンドによるデータインタラクションの実現


従来のjspコード:ハイパーリンクリクエストバックエンドの使用
  

Vue式:パラメータをイベントからajaxまたはaxios要求をバックエンド表現層に呼び出す:

	{
    {stu.id}}
	


jsクリックイベント:
deleteStu: function (event) {
	console.log(event);//        id
	$.ajax({
		url: "deleteStudent",
		data: {
			//       
			id: event
		},
		dataType: "JSON",
		type: "get",
		success(result) {
			//           Vue    
			myModel.studentList = result;
		},
		error() {
			console.log("        ")
		},
		timeout: 2000
	})
}