You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by so...@apache.org on 2022/05/10 06:10:54 UTC

[dolphinscheduler] branch 3.0.0-beta-prepare updated: [Fix][UI][V1.0.0-Beta] Fix the problem of packing failure. (#9966)

This is an automated email from the ASF dual-hosted git repository.

songjian pushed a commit to branch 3.0.0-beta-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/3.0.0-beta-prepare by this push:
     new 7cd2f1df15 [Fix][UI][V1.0.0-Beta] Fix the problem of packing failure. (#9966)
7cd2f1df15 is described below

commit 7cd2f1df1528bfb6d0339b0386aa4cd02243d59a
Author: Amy0104 <97...@users.noreply.github.com>
AuthorDate: Tue May 10 14:10:46 2022 +0800

    [Fix][UI][V1.0.0-Beta] Fix the problem of packing failure. (#9966)
---
 dolphinscheduler-ui/src/components/form/types.ts | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/dolphinscheduler-ui/src/components/form/types.ts b/dolphinscheduler-ui/src/components/form/types.ts
index 86ff07da31..dfc02c792e 100644
--- a/dolphinscheduler-ui/src/components/form/types.ts
+++ b/dolphinscheduler-ui/src/components/form/types.ts
@@ -15,14 +15,7 @@
  * limitations under the License.
  */
 import { Ref } from 'vue'
-import type {
-  GridProps,
-  FormProps,
-  FormItemRule,
-  FormRules,
-  SelectOption,
-  TreeSelectOption
-} from 'naive-ui'
+import type { GridProps, FormProps, FormItemRule, FormRules } from 'naive-ui'
 
 type IType =
   | 'input'
@@ -38,7 +31,9 @@ type IType =
   | 'custom'
   | 'multi-condition'
 
-type IOption = SelectOption | TreeSelectOption
+interface IOption {
+  [key: string]: any
+}
 
 interface IFormItem {
   showLabel?: boolean