ソースを参照

fix: change post

DESKTOP-USV654P\pc 1 週間 前
コミット
43d83a686f
2 ファイル変更15 行追加2 行削除
  1. 1 1
      Makefile
  2. 14 1
      src/views/system/post/components/PostDrawer.vue

+ 1 - 1
Makefile

@@ -12,7 +12,7 @@ build:
 
 commit:
 	git add . && \
-	git commit --no-verify -m "fix: change term"
+	git commit --no-verify -m "fix: change post"
 
 checkPre:
 	git checkout pre

+ 14 - 1
src/views/system/post/components/PostDrawer.vue

@@ -46,7 +46,20 @@
           { label: t('停用'), value: 0 },
         ],
       },
-      colProps: { span: 24 },
+      colProps: { span: 12 },
+    },
+    {
+      field: 'isMajor',
+      label: t('专业部'),
+      component: 'RadioButtonGroup',
+      defaultValue: 0,
+      componentProps: {
+        options: [
+          { label: t('是'), value: 1 },
+          { label: t('否'), value: 0 },
+        ],
+      },
+      colProps: { span: 12 },
     },
     {
       field: 'parentId',