ソースを参照

chore: add upload & treeselect ued doc entry

DaiQiangReal 3 年 前
コミット
d8cf8971fd

+ 4 - 2
src/templates/toUEDUtils/haveUedDocComponents.js

@@ -42,5 +42,7 @@ export default [
     "pagination",
     "steps",
     "tabs",
-    "tree"
-]
+    "tree",
+    "treeselect",
+    "upload"
+];

+ 1 - 1
src/templates/toUEDUtils/toUED.ts

@@ -91,7 +91,7 @@ const isHaveUedDocs=(pathName:string)=>{
 };
 
 const isJumpToDesignSite=(pathName:string)=>{
-    const components=['toast','popconfirm','scrolllist','popover','select','dropdown'];
+    const components=['toast','popconfirm','scrolllist','popover','select','dropdown','treeselect'];
     if (pathName){
         const urlSplitArray=pathName.split('/').filter(v=>v);
         const componentName=urlSplitArray[urlSplitArray.length-1];