This is an automated email from the ASF dual-hosted git repository.
kerwin pushed a commit to branch 3.0.0-alpha-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/3.0.0-alpha-prepare by this
push:
new a0c15ada3a [3.0.0-alpha-prepare]3.0.0 alpha prepare 9481 9476 (#9482)
a0c15ada3a is described below
commit a0c15ada3adfa26939749bdf8eb17fb86623d5c5
Author: Kerwin <[email protected]>
AuthorDate: Wed Apr 13 20:56:56 2022 +0800
[3.0.0-alpha-prepare]3.0.0 alpha prepare 9481 9476 (#9482)
---
.../src/views/projects/list/components/project-modal.tsx | 2 +-
.../src/views/projects/task/components/node/fields/use-switch.ts | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git
a/dolphinscheduler-ui-next/src/views/projects/list/components/project-modal.tsx
b/dolphinscheduler-ui-next/src/views/projects/list/components/project-modal.tsx
index 5cf725816b..e90b8f530b 100644
---
a/dolphinscheduler-ui-next/src/views/projects/list/components/project-modal.tsx
+++
b/dolphinscheduler-ui-next/src/views/projects/list/components/project-modal.tsx
@@ -117,7 +117,7 @@ const ProjectModal = defineComponent({
</NFormItem>
<NFormItem label={t('project.list.owned_users')} path='userName'>
<NInput
- disabled={this.statusRef === 0}
+ disabled={true}
v-model={[this.model.userName, 'value']}
placeholder={t('project.list.username_tips')}
/>
diff --git
a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-switch.ts
b/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-switch.ts
index d65d77ac14..ae3f48dfc7 100644
---
a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-switch.ts
+++
b/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-switch.ts
@@ -16,18 +16,18 @@
*/
import { ref, watch } from 'vue'
import { useI18n } from 'vue-i18n'
-import type { IJsonItem } from '../types'
+import { useTaskNodeStore } from '@/store/project/task-node'
import { queryProcessDefinitionByCode } from
'@/service/modules/process-definition'
+import type { IJsonItem } from '../types'
export function useSwitch(
model: { [field: string]: any },
projectCode: number
): IJsonItem[] {
const { t } = useI18n()
- const branchFlowOptions = ref([] as any)
-
+ const taskStore = useTaskNodeStore()
+ const branchFlowOptions = ref(taskStore.postTaskOptions as any)
const loading = ref(false)
-
const getOtherTaskDefinitionList = async () => {
if (loading.value) return
loading.value = true