|
|
@@ -49,10 +49,10 @@ const emits = defineEmits<{
|
|
|
}>();
|
|
|
|
|
|
const visible = ref<boolean>(false);
|
|
|
-
|
|
|
+
|
|
|
const handleOk = () => {
|
|
|
- emits("remove")
|
|
|
- visible.value = false;
|
|
|
+ emits("remove");
|
|
|
+ visible.value = false;
|
|
|
};
|
|
|
|
|
|
watch(
|
|
|
@@ -205,9 +205,9 @@ function onSectionRecordUse(sectionId: number) {
|
|
|
/>
|
|
|
<!--删除章节 start -->
|
|
|
<a-modal v-model:visible="visible" title="删除章节" @ok="handleOk">
|
|
|
- <p>确认删除章节</p>
|
|
|
- </a-modal>
|
|
|
- <!-- end -->
|
|
|
+ <p>确认删除章节</p>
|
|
|
+ </a-modal>
|
|
|
+ <!-- end -->
|
|
|
</template>
|
|
|
|
|
|
<style scoped lang="scss">
|