feat(#I18G4J): 网站设置中开启 Blazor 后自动跳转到 Blazor
#Comment comment #I18G4J #Issue close https://gitee.com/LongbowEnterprise/dashboard/issues?id=I18G4J
This commit is contained in:
parent
7698ce5a1c
commit
5a3ea87d61
|
@ -85,7 +85,13 @@ $(function () {
|
|||
case 'saveBlazor':
|
||||
var blazor = $('#blazor').prop('checked') ? "1" : "0";
|
||||
$.bc({
|
||||
url: Settings.url, data: { name: 'Blazor', code: blazor, category: '网站设置' }, title: 'Blazor 设置', method: "post"
|
||||
url: Settings.url, data: { name: 'Blazor', code: blazor, category: '网站设置' }, title: 'Blazor 设置', method: "post",
|
||||
callback: function (result) {
|
||||
if (result) {
|
||||
// 导航到 Blazor 页面
|
||||
window.location.href = $.formatUrl("Pages/Admin/Settings");
|
||||
}
|
||||
}
|
||||
});
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue