fix: 🐛 移除无用的emit事件
This commit is contained in:
@@ -37,7 +37,7 @@ import { IToolbarConfig, IEditorConfig } from "@wangeditor-next/editor";
|
|||||||
import FileAPI from "@/api/file";
|
import FileAPI from "@/api/file";
|
||||||
|
|
||||||
// 上传图片回调函数类型
|
// 上传图片回调函数类型
|
||||||
type InsertFnType = (url: string, alt: string, href: string) => void;
|
type InsertFnType = (_url: string, _alt: string, _href: string) => void;
|
||||||
|
|
||||||
defineProps({
|
defineProps({
|
||||||
height: {
|
height: {
|
||||||
@@ -45,9 +45,6 @@ defineProps({
|
|||||||
default: "500px",
|
default: "500px",
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
const emit = defineEmits(["update:modelValue"]);
|
|
||||||
|
|
||||||
// 双向绑定
|
// 双向绑定
|
||||||
const modelValue = defineModel("modelValue", {
|
const modelValue = defineModel("modelValue", {
|
||||||
type: String,
|
type: String,
|
||||||
|
|||||||
Reference in New Issue
Block a user