Skip to content

Commit

Permalink
bugfixed $vm is not defined
Browse files Browse the repository at this point in the history
"系统设置"页面saveAdvanced(保存设置)方法bug
  • Loading branch information
0xChen authored Nov 24, 2018
1 parent 620770f commit 13a77fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/resources/templates/admin/setting.html
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ <h3 class="panel-title">高级选项设置</h3>
});
},
saveAdvanced: function () {
var $vm = this;
var param = $('#advanced-form').serialize();
tale.post({
url: '/admin/api/advanced/save',
Expand Down Expand Up @@ -250,4 +251,4 @@ <h3 class="panel-title">高级选项设置</h3>

</script>
</body>
</html>
</html>

0 comments on commit 13a77fc

Please sign in to comment.