Commit e31a9d56 by 蒋勇

btn loadding status add

parent e8b23b87
......@@ -18,7 +18,7 @@
</el-input>
<el-row style="text-align: right;margin-top: 20px;">
<el-button type="warning" @click="cancelClick">取消</el-button>
<el-button type="primary" @click="saveClick">保存</el-button>
<el-button type="primary" @click="saveClick" :loading="isbtnRunning">保存</el-button>
</el-row>
</el-dialog>
......
......@@ -13,6 +13,7 @@
],
currentRow:null,
isbtnRunning:false,
}
},
mounted: function() {
......@@ -121,6 +122,7 @@
this.trackVisable=false;
},
saveClick(){
this.isbtnRunning=true;
if(this.trackContent==""){
return;
}
......@@ -134,6 +136,7 @@
self.currentRow.tracklog=d.data.tracklog;
self.handlerTrackLog(self.currentRow);
self.trackContent="";
self.isbtnRunning=false;
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment