优化定时器

This commit is contained in:
java110 2020-06-03 14:36:41 +08:00
parent 8c2ae8774c
commit 17a1479a9b
2 changed files with 3 additions and 4 deletions

View File

@ -42,7 +42,7 @@
</div>
<div class="ibox-content">
<button class="btn btn-primary float-right" type="button" v-on:click="saveAppInfo()"><i
<button class="btn btn-primary float-right" type="button" v-on:click="saveJobInfo()"><i
class="fa fa-check"></i>&nbsp;保存
</button>
<button type="button" class="btn btn-warning float-right" style="margin-right:20px;"

View File

@ -69,14 +69,13 @@
emulateJSON: true
},
function (json, res) {
//vm.menus = vm.refreshMenuActive(JSON.parse(json),0);
let _json = JSON.parse(json);
let data = res.data;
if (data.code == 200) {
if (_json.code == 200) {
//关闭model
$('#addJobModel').modal('hide');
vc.component.clearAddJobInfo();
vc.emit('jobManage', 'listJob', {});
return;
}
vc.toast(json);