Pārlūkot izejas kodu

fix: change post

DESKTOP-USV654P\pc 1 nedēļu atpakaļ
vecāks
revīzija
43d83a686f
2 mainītis faili ar 15 papildinājumiem un 2 dzēšanām
  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',