浏览代码

编辑用户时,不允许修改阶段

刘洋 1 年之前
父节点
当前提交
c9a5427bc1
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/modules/admin-user/edit-user/index.vue

+ 1 - 0
src/modules/admin-user/edit-user/index.vue

@@ -233,6 +233,7 @@ const items = computed<EpFormItem[]>(() => {
           prop: 'stage',
           prop: 'stage',
           slot: {
           slot: {
             placeholder: '选择阶段',
             placeholder: '选择阶段',
+            disabled: isEdit,
             options: [
             options: [
               { label: 'SAMPLE_A', value: 'SAMPLE_A' },
               { label: 'SAMPLE_A', value: 'SAMPLE_A' },
               { label: 'SAMPLE_B', value: 'SAMPLE_B' },
               { label: 'SAMPLE_B', value: 'SAMPLE_B' },