plain-design 1.0.0-beta.119 → 1.0.0-beta.120
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -154,7 +154,7 @@ export function createTreeNode(
|
|
154
154
|
return true;
|
155
155
|
}
|
156
156
|
/*当前节点有子节点匹配搜索关键词*/
|
157
|
-
const children = self.children();
|
157
|
+
const children = self.children().filter(i => !i.empty);
|
158
158
|
if (!!children && children.length > 0 && children.some(i => i.isPassFilter())) {
|
159
159
|
return true;
|
160
160
|
}
|
@@ -15,7 +15,7 @@ export const useDialog = createApplicationService(
|
|
15
15
|
const service = (sourceOption: string | iDialogServiceOption, externalOption?: iDialogServiceOption): () => void => {
|
16
16
|
const option = formatOptions(sourceOption, externalOption);
|
17
17
|
!option.id && (option.id = nextDialogId());
|
18
|
-
option.minWidth
|
18
|
+
option.minWidth == null && (option.minWidth = '325px');
|
19
19
|
|
20
20
|
getManager().then(async manager => {await manager.service(option);});
|
21
21
|
|