bugfixed
This commit is contained in:
@ -76,7 +76,7 @@ export default {
|
||||
},
|
||||
customInsert(res, insertFn) {
|
||||
// res 即服务端的返回结果
|
||||
console.log(res);
|
||||
// console.log(res);
|
||||
// 从 res 中找到 url alt href ,然后插图图片
|
||||
insertFn(res.url, null, null);
|
||||
},
|
||||
|
45
src/components/webBreadcrumb/index.vue
Normal file
45
src/components/webBreadcrumb/index.vue
Normal file
@ -0,0 +1,45 @@
|
||||
<template>
|
||||
<el-breadcrumb separator="/">
|
||||
<el-breadcrumb-item>
|
||||
<span class="_one pointer" @click="handleShow">{{
|
||||
breadcrumbTitle.title
|
||||
}}</span>
|
||||
</el-breadcrumb-item>
|
||||
<el-breadcrumb-item>
|
||||
<span class="_two">{{ breadcrumbTitle.twoTitle }}</span>
|
||||
</el-breadcrumb-item>
|
||||
</el-breadcrumb>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
const props = defineProps({
|
||||
isShow: {
|
||||
required: true,
|
||||
type: Boolean,
|
||||
},
|
||||
breadcrumbTitle: {
|
||||
required: true,
|
||||
type: Object,
|
||||
},
|
||||
});
|
||||
const emit = defineEmits();
|
||||
function handleShow() {
|
||||
emit("update:isShow", !props.isShow);
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.el-breadcrumb {
|
||||
padding: 20px 0;
|
||||
._two {
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
color: #666666;
|
||||
}
|
||||
._one {
|
||||
font-size: 16px;
|
||||
font-weight: 600 !important;
|
||||
color: #333333;
|
||||
}
|
||||
}
|
||||
</style>
|
Reference in New Issue
Block a user