Skip to content

Commit

Permalink
fix: 修复后台布局设置时提示 URL 不合法的问题 #32
Browse files Browse the repository at this point in the history
  • Loading branch information
Mereithhh committed Sep 5, 2022
1 parent 7648c1e commit 3b37cbb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/admin/src/pages/SystemConfig/tabs/SiteInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ export default function () {
} catch (err) {
ok = false;
}
if(!data.baseUrl) {
ok = true;
}
if (!ok) {
Modal.warn({
title: '网站 URL 不合法!',
Expand Down

0 comments on commit 3b37cbb

Please sign in to comment.