From 6ea062cda5def090835cfd948957ca23ce92a639 Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Mon, 13 Jun 2022 16:35:24 +0800 Subject: [PATCH] 优化App后端报错提示 --- bases/HostBoot.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bases/HostBoot.js b/bases/HostBoot.js index 41a9460..53de246 100644 --- a/bases/HostBoot.js +++ b/bases/HostBoot.js @@ -27,9 +27,9 @@ /** * 创建主机类型 * @param {string} typeName - * @param {boolean} [isDefault=false] + * @param {string} [isDefault=''] */ - createHostType(typeName, isDefault = false) { + createHostType(typeName, isDefault = '') { if (isDefault === 'default') { this._data.defaultHostType = typeName; } -- Gitblit v1.9.1