diff --git a/src/views/system/article/manager.vue b/src/views/system/article/manager.vue
index 4c24519..74f652c 100644
--- a/src/views/system/article/manager.vue
+++ b/src/views/system/article/manager.vue
@@ -57,7 +57,11 @@
-
+
+
+
+
+
@@ -91,10 +95,16 @@ const previewUrl = ref('')
const data = reactive({
form: {},
- queryParams: {}
+ queryParams: {},
+ options: {
+ isPublicOptions: [
+ { dictLabel: '是', dictValue: '1' },
+ { dictLabel: '否', dictValue: '0', listClass: 'info' }
+ ]
+ }
})
-const { queryParams } = toRefs(data)
+const { queryParams, options } = toRefs(data)
proxy.getDicts('sys_article_status').then((response) => {
statusOptions.value = response.data
diff --git a/src/views/system/article/publish.vue b/src/views/system/article/publish.vue
index af09d2a..6a8317f 100644
--- a/src/views/system/article/publish.vue
+++ b/src/views/system/article/publish.vue
@@ -30,6 +30,9 @@
+ 文章标签
+
+
+
@@ -70,7 +73,8 @@ const data = reactive({
cid: undefined,
content: undefined,
status: undefined,
- categoryId: undefined
+ categoryId: undefined,
+ isPublic: 1
},
rules: {
title: [{ required: true, message: '标题不能为空', trigger: 'blur' }],