mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-26 08:16:47 +08:00
优化定时器
This commit is contained in:
parent
8c2ae8774c
commit
17a1479a9b
@ -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> 保存
|
||||
</button>
|
||||
<button type="button" class="btn btn-warning float-right" style="margin-right:20px;"
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user