!55 敏感词模块 TODO 内容修改

Merge pull request !55 from syd/dev
This commit is contained in:
芋道源码
2023-03-26 11:49:22 +00:00
committed by Gitee
5 changed files with 121 additions and 14 deletions

View File

@ -67,10 +67,11 @@ const formRules = reactive({
tags: [{ required: true, message: '标签不能为空', trigger: 'blur' }]
})
const formRef = ref() // 表单 Ref
const tags = ref([]) // todo @blue-syd在 openModal 里加载下
const tags: Ref<string[]> = ref([]) // todo @blue-syd在 openModal 里加载下
/** 打开弹窗 */
const openModal = async (type: string, id?: number) => {
const openModal = async (type: string, paramTags: string[], id?: number) => {
tags.value = paramTags
modelVisible.value = true
modelTitle.value = t('action.' + type)
formType.value = type