This commit is contained in:
gexinzhineng/gxzn27
2023-01-31 10:37:35 +08:00
parent 1e8a379ed0
commit b700b316cd
4 changed files with 15 additions and 11 deletions

View File

@@ -21,7 +21,7 @@
</template>
<script setup lang="ts" name="ElementTaskConfig">
import { ref, watch, shallowRef } from 'vue'
import { ref, watch } from 'vue'
import { ElForm, ElFormItem, ElCheckbox } from 'element-plus'
import UserTask from './task-components/UserTask.vue'
import ScriptTask from './task-components/ScriptTask.vue'
@@ -36,7 +36,7 @@ const taskConfigForm = ref({
asyncBefore: false,
exclusive: false
})
const witchTaskComponent = shallowRef()
const witchTaskComponent = ref()
const installedComponent = ref({
// 手工任务与普通任务一致,不需要其他配置
// 接收消息任务,需要在全局下插入新的消息实例,并在该节点下的 messageRef 属性绑定该实例