From 0b8f48fb610c8a2e3f9fb633241fcf46a78da69d Mon Sep 17 00:00:00 2001
From: dap <15891557205@163.com>
Date: 星期二, 30 四月 2024 22:46:10 +0800
Subject: [PATCH] fix: 更新时有岗位会被赋值为空的bug

---
 src/views/workflow/processDefinition/index.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/views/workflow/processDefinition/index.vue b/src/views/workflow/processDefinition/index.vue
index 8f1096c..fde02c7 100644
--- a/src/views/workflow/processDefinition/index.vue
+++ b/src/views/workflow/processDefinition/index.vue
@@ -25,10 +25,10 @@
             <el-card shadow="hover">
               <el-form v-show="showSearch" ref="queryFormRef" :model="queryParams" :inline="true" label-width="120px">
                 <el-form-item label="娴佺▼瀹氫箟鍚嶇О" prop="name">
-                  <el-input v-model="queryParams.name" placeholder="璇疯緭鍏ユ祦绋嬪畾涔夊悕绉�" clearable style="width: 240px"  @keyup.enter="handleQuery" />
+                  <el-input v-model="queryParams.name" placeholder="璇疯緭鍏ユ祦绋嬪畾涔夊悕绉�" clearable @keyup.enter="handleQuery" />
                 </el-form-item>
                 <el-form-item label="娴佺▼瀹氫箟KEY" prop="key">
-                  <el-input v-model="queryParams.key" placeholder="璇疯緭鍏ユ祦绋嬪畾涔塊EY" clearable style="width: 240px"  @keyup.enter="handleQuery" />
+                  <el-input v-model="queryParams.key" placeholder="璇疯緭鍏ユ祦绋嬪畾涔塊EY" clearable @keyup.enter="handleQuery" />
                 </el-form-item>
                 <el-form-item>
                   <el-button type="primary" icon="Search" @click="handleQuery">鎼滅储</el-button>
@@ -274,7 +274,7 @@
 const previewRef = ref<InstanceType<typeof ProcessPreview>>();
 const queryFormRef = ref<ElFormInstance>();
 const categoryTreeRef = ref<ElTreeInstance>();
-const definitionConfigForm = ref<DefinitionConfigForm>();
+const definitionConfigForm = ref<DefinitionConfigForm>({});
 
 type CategoryOption = {
   categoryCode: string;

--
Gitblit v1.9.3