FixBUG: 修复注册位置跳转内容
修复注册跳转到 console 页面 添加 account 的默认页面 dashboard Signed-off-by: XiaoLFeng <gm@x-lf.cn>
This commit is contained in:
parent
7dae1b0470
commit
5eab780271
@ -87,7 +87,7 @@ function user_change() {
|
||||
dataType: "json",
|
||||
success: function (returnData) {
|
||||
if (returnData.output === "Success") {
|
||||
window.location.href = '{{ route('console.dashboard') }}'
|
||||
window.location.href = '{{ route('account.dashboard') }}'
|
||||
} else {
|
||||
window.alert("错误!")
|
||||
}
|
||||
|
@ -59,7 +59,8 @@ class="block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-
|
||||
<span class="flex-1 ml-3 whitespace-nowrap">管理员</span>
|
||||
</a>
|
||||
@endif
|
||||
<a href="#" class="block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white">
|
||||
<a href="{{ route('account.dashboard') }}" class="block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600
|
||||
dark:hover:text-white">
|
||||
<i class="bi bi-person-rolodex"></i>
|
||||
<span class="flex-1 ml-3 whitespace-nowrap">个人设置</span>
|
||||
</a>
|
||||
|
@ -46,6 +46,7 @@
|
||||
});
|
||||
|
||||
Route::prefix('account')->middleware('auth')->group(function () {
|
||||
Route::get('dashboard')->name('account.dashboard');
|
||||
Route::prefix('friend')->group(function () {
|
||||
Route::get('link')->name('account.friend.link');
|
||||
Route::get('edit')->name('account.friend.edit');
|
||||
|
Loading…
x
Reference in New Issue
Block a user