编辑
@@ -63,19 +63,21 @@
total: 10,
colConfigs: [
{ prop: 'title', label: '题目', align: 'left' },
- { prop: 'createUserName', label: '题目类型', align: 'center' }
+ { prop: 'type', label: '题目类型', align: 'center', format: v => this.dict.getLabel('qjQBType', v) + '题' }
],
tableData: []
}
},
created() {
- this.getList()
+ this.dict.load('qjQBType').then(() => {
+ this.getList()
+ })
},
methods: {
getList() {
- this.instance.post(`/app/appmarketingactivityinfo/list`, null, {
+ this.instance.post(`/app/appquestionbank/list`, null, {
params: {
...this.search
}
@@ -88,8 +90,8 @@
},
remove (id) {
- this.$confirm('确定删除该活动?').then(() => {
- this.instance.post(`/app/appmarketingactivityinfo/delete?id=${id}`).then(res => {
+ this.$confirm('确定删除该试题?').then(() => {
+ this.instance.post(`/app/appquestionbank/delete?id=${id}`).then(res => {
if (res.code == 0) {
this.$message.success('删除成功!')
this.getList()
diff --git a/ui/packages/basic/AiArticle.vue b/ui/packages/basic/AiArticle.vue
index a5a0986b..26f1d5a4 100644
--- a/ui/packages/basic/AiArticle.vue
+++ b/ui/packages/basic/AiArticle.vue
@@ -175,7 +175,9 @@
margin-top: 18px;
margin-bottom: 18px
}
-
+ :deep( p:first-child){
+ margin-top: 0!important;
+ }
:deep( img ){
max-height: none
}