系统设置中自定义UI的支持

This commit is contained in:
undefined committed 2020-07-12 13:36:12 +08:00
1 parent 11368bc831
commit 1722fbfaca
21 files changed
+284 -140

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ export async function run({ username = '', password = '' } = {}) {
await Promise.all(tasks);
await domain.add('system', 0, 'Hydro', true);
if (username && password) {
const udoc = await user.getById('system', -1, false);
const udoc = await user.getById('system', -1);
if (!udoc) {
await user.create({
uid: -1,