瀏覽代碼

feat: 审批人 disabled 交互 & 样式

lanceJiang 1 年之前
父節點
當前提交
0e98934578
共有 1 個文件被更改,包括 6 次插入6 次删除
  1. 6 6
      src/components/scWorkflow/nodes/approver.vue

+ 6 - 6
src/components/scWorkflow/nodes/approver.vue

@@ -193,10 +193,10 @@ export default {
 	inject: ['select'],
 	props: {
 		modelValue: { type: Object, default: () => {} },
-    disabled: {
-      type: Boolean,
-      default: false
-    }
+		disabled: {
+			type: Boolean,
+			default: false
+		}
 	},
 	data() {
 		return {
@@ -230,7 +230,7 @@ export default {
 	},
 	methods: {
 		show() {
-      if (this.disabled) return
+			if (this.disabled) return
 			this.form = JSON.parse(JSON.stringify(this.nodeConfig))
 			const { formStructure } = JSON.parse(this.processForm)
 			const formConfig = this.form.extendConfig?.formConfig || []
@@ -248,7 +248,7 @@ export default {
 			this.drawer = true
 		},
 		editTitle(refName) {
-      if (this.disabled) return
+			if (this.disabled) return
 			this.isEditTitle = true
 			this.$nextTick(() => {
 				this.$refs[refName]?.focus()