feat: 片头素材删除确认
This commit is contained in:
@@ -5,6 +5,7 @@ import { number, object, string, type InferType } from 'yup'
|
||||
const loginState = useLoginState()
|
||||
const toast = useToast()
|
||||
|
||||
const isCreateSystemTitlesSlideActive = ref(false)
|
||||
const isUserTitlesRequestModalActive = ref(false)
|
||||
|
||||
const systemPagination = reactive({
|
||||
@@ -168,7 +169,19 @@ const onUserTitlesSubmit = (event: FormSubmitEvent<UserTitlesSchema>) => {
|
||||
<BubbleTitle
|
||||
title="片头片尾模版"
|
||||
subtitle="Materials"
|
||||
></BubbleTitle>
|
||||
>
|
||||
<template #action>
|
||||
<UButton
|
||||
color="amber"
|
||||
icon="tabler:plus"
|
||||
variant="soft"
|
||||
v-if="loginState.user.auth_code === 2"
|
||||
@click="isCreateSystemTitlesSlideActive = true"
|
||||
>
|
||||
创建模板
|
||||
</UButton>
|
||||
</template>
|
||||
</BubbleTitle>
|
||||
<GradientDivider />
|
||||
</div>
|
||||
<div class="p-4">
|
||||
|
||||
Reference in New Issue
Block a user