Skip to content

Commit 2df0aa2

Browse files
committed
【代码优化】工作流:去除多余的 debugger 断点
1 parent 98e9ba4 commit 2df0aa2

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

src/views/bpm/processInstance/create/ProcessDefinitionDetail.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,9 @@ const getApprovalDetail = async (row: any) => {
208208
} finally {
209209
}
210210
}
211+
211212
/** 提交按钮 */
212213
const submitForm = async (formData: any) => {
213-
debugger
214214
if (!fApi.value || !props.selectProcessDefinition) {
215215
return
216216
}

src/views/bpm/processInstance/detail/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ const getApprovalDetail = async () => {
204204
const formFieldsPermission = data.formFieldsPermission
205205
206206
if (detailForm.value.rule.length > 0) {
207-
// 避免刷新 form-create 显示不了
207+
// 避免刷新 form-create 显示不了
208208
detailForm.value.value = processInstance.value.formVariables
209209
} else {
210210
setConfAndFields2(

src/views/bpm/processInstance/index.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,6 @@ const handleCreate = async (row?: ProcessInstanceVO) => {
222222
const processDefinitionDetail = await DefinitionApi.getProcessDefinition(
223223
row.processDefinitionId
224224
)
225-
debugger
226225
if (processDefinitionDetail.formType === 20) {
227226
message.error('重新发起流程失败,原因:该流程使用业务表单,不支持重新发起')
228227
return

src/views/pay/app/components/channel/WeixinChannelForm.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,6 @@ const resetForm = (appId, code) => {
257257
const fileBeforeUpload = (file, fileAccept) => {
258258
let format = '.' + file.name.split('.')[1]
259259
if (format !== fileAccept) {
260-
debugger
261260
message.error('请上传指定格式"' + fileAccept + '"文件')
262261
return false
263262
}

0 commit comments

Comments
 (0)