|
|
|
@ -4,7 +4,11 @@ |
|
|
|
</template> |
|
|
|
<script setup> |
|
|
|
import G6 from '@antv/g6'; |
|
|
|
import {watch} from "vue"; |
|
|
|
import {onMounted, watch} from "vue"; |
|
|
|
import svgUrl11 from '@/assets/aichat/11.svg?url' |
|
|
|
import svgUrl11n from '@/assets/aichat/11n.svg?url' |
|
|
|
import svgUrl101 from '@/assets/aichat/101.svg?url' |
|
|
|
import svgUrl101n from '@/assets/aichat/101n.svg?url' |
|
|
|
const props = defineProps({ |
|
|
|
data: { |
|
|
|
type: Object, |
|
|
|
@ -20,13 +24,102 @@ const props = defineProps({ |
|
|
|
} |
|
|
|
}) |
|
|
|
const g6data = ref([]) |
|
|
|
async function initSvg(svgUrl) { |
|
|
|
// 1. 获取 SVG 文件 |
|
|
|
const response = await fetch(svgUrl) |
|
|
|
let svgContent = await response.text() |
|
|
|
// 2. 将 SVG 颜色修改为蓝色 |
|
|
|
// 方法A:直接替换 fill/stroke 属性 |
|
|
|
svgContent = svgContent.replace(/fill=["'][^"']*["']/gi, 'fill="white"') |
|
|
|
svgContent = svgContent.replace(/stroke=["'][^"']*["']/gi, 'stroke="#1890ff"') |
|
|
|
// 方法B:如果没有fill属性,添加fill属性 |
|
|
|
if (!svgContent.includes('fill=')) { |
|
|
|
const svgStart = svgContent.indexOf('<svg') |
|
|
|
const svgTagEnd = svgContent.indexOf('>', svgStart) |
|
|
|
svgContent = svgContent.slice(0, svgTagEnd) + ' fill="white"' + svgContent.slice(svgTagEnd) |
|
|
|
} |
|
|
|
// 3. 转换为 base64 |
|
|
|
return `data:image/svg+xml;base64,${btoa(unescape(encodeURIComponent(svgContent)))}` |
|
|
|
} |
|
|
|
const svg11 = ref(null) |
|
|
|
const svg11n =ref(null) |
|
|
|
const svg101 =ref(null) |
|
|
|
const svg101n =ref(null) |
|
|
|
const getArrowSvgByType = (type) => { |
|
|
|
switch(type) { |
|
|
|
case '1': return svg11.value |
|
|
|
case '2': return svg101.value |
|
|
|
case '3': return svg11n.value |
|
|
|
case '4': return svg101n.value |
|
|
|
default: return svg11.value // 默认使用svg11 |
|
|
|
} |
|
|
|
} |
|
|
|
function calculateArrowPosition(startPoint, endPoint, arrowHeight) { |
|
|
|
const t = 1.0; // 终点位置 |
|
|
|
|
|
|
|
// 贝塞尔曲线控制点 |
|
|
|
const p0 = startPoint; |
|
|
|
const p1 = { |
|
|
|
x: endPoint.x / 3 + (2 / 3) * startPoint.x, |
|
|
|
y: startPoint.y |
|
|
|
}; |
|
|
|
const p2 = { |
|
|
|
x: endPoint.x / 3 + (2 / 3) * startPoint.x, |
|
|
|
y: endPoint.y |
|
|
|
}; |
|
|
|
const p3 = endPoint; |
|
|
|
|
|
|
|
// 计算切线向量(贝塞尔曲线在终点的导数) |
|
|
|
const dx = 3 * Math.pow(1 - t, 2) * (p1.x - p0.x) + |
|
|
|
6 * (1 - t) * t * (p2.x - p1.x) + |
|
|
|
3 * Math.pow(t, 2) * (p3.x - p2.x); |
|
|
|
|
|
|
|
const dy = 3 * Math.pow(1 - t, 2) * (p1.y - p0.y) + |
|
|
|
6 * (1 - t) * t * (p2.y - p1.y) + |
|
|
|
3 * Math.pow(t, 2) * (p3.y - p2.y); |
|
|
|
|
|
|
|
// 计算切线角度(弧度) |
|
|
|
const tangentAngle = Math.atan2(dy, dx); |
|
|
|
|
|
|
|
// 旋转角度:使箭头沿着切线方向 |
|
|
|
// 如果您的箭头初始方向是向上的,可能需要调整这个角度 |
|
|
|
const rotateAngle = tangentAngle - Math.PI / 2; |
|
|
|
|
|
|
|
// 计算箭头底部中点的位置(与终点对齐) |
|
|
|
const arrowBottomMidX = endPoint.x; |
|
|
|
const arrowBottomMidY = endPoint.y; |
|
|
|
|
|
|
|
function initG6() { |
|
|
|
// 计算箭头中心点位置(由于箭头高度已知) |
|
|
|
// 箭头中心应该在底部中点上方 arrowHeight/2 的位置 |
|
|
|
const centerX = arrowBottomMidX - (arrowHeight / 2) * Math.sin(tangentAngle); |
|
|
|
const centerY = arrowBottomMidY + (arrowHeight / 2) * Math.cos(tangentAngle); |
|
|
|
|
|
|
|
// 计算箭头顶部中点位置(用于验证) |
|
|
|
const arrowTopMidX = arrowBottomMidX - arrowHeight * Math.sin(tangentAngle); |
|
|
|
const arrowTopMidY = arrowBottomMidY + arrowHeight * Math.cos(tangentAngle); |
|
|
|
|
|
|
|
// 返回结果(左上角坐标) |
|
|
|
return { |
|
|
|
x: centerX - arrowHeight / 2, // 左上角 x |
|
|
|
y: centerY - arrowHeight / 2, // 左上角 y |
|
|
|
rotate: rotateAngle, // 旋转角度 |
|
|
|
centerX, // 中心点 x |
|
|
|
centerY, // 中心点 y |
|
|
|
bottomMidX: arrowBottomMidX, // 底部中点 x |
|
|
|
bottomMidY: arrowBottomMidY, // 底部中点 y |
|
|
|
topMidX: arrowTopMidX, // 顶部中点 x |
|
|
|
topMidY: arrowTopMidY, // 顶部中点 y |
|
|
|
tangentAngle, // 切线角度 |
|
|
|
arrowHeight, // 箭头高度 |
|
|
|
endPoint // 终点(用于调试) |
|
|
|
}; |
|
|
|
} |
|
|
|
async function initG6() { |
|
|
|
const { |
|
|
|
Util, |
|
|
|
registerBehavior, |
|
|
|
registerEdge, |
|
|
|
registerNode |
|
|
|
registerNode, |
|
|
|
} = G6; |
|
|
|
const isInBBox = (point, bbox) => { |
|
|
|
const { |
|
|
|
@ -42,6 +135,7 @@ function initG6() { |
|
|
|
|
|
|
|
return x < maxX && x > minX && y > minY && y < maxY; |
|
|
|
}; |
|
|
|
|
|
|
|
const itemHeight = 20; |
|
|
|
registerBehavior("dice-er-scroll", { |
|
|
|
getDefaultCfg() { |
|
|
|
@ -59,53 +153,7 @@ function initG6() { |
|
|
|
"node:mouseup": "mouseup" |
|
|
|
}; |
|
|
|
}, |
|
|
|
scorll(e) { |
|
|
|
// e.preventDefault(); |
|
|
|
const { |
|
|
|
graph |
|
|
|
} = this; |
|
|
|
const nodes = graph.getNodes().filter((n) => { |
|
|
|
const bbox = n.getBBox(); |
|
|
|
|
|
|
|
return isInBBox(graph.getPointByClient(e.clientX, e.clientY), bbox); |
|
|
|
}); |
|
|
|
|
|
|
|
const x = e.deltaX || e.movementX; |
|
|
|
let y = e.deltaY || e.movementY; |
|
|
|
if (!y && navigator.userAgent.indexOf('Firefox') > -1) y = (-e.wheelDelta * 125) / 3 |
|
|
|
|
|
|
|
if (nodes) { |
|
|
|
const edgesToUpdate = new Set(); |
|
|
|
nodes.forEach((node) => { |
|
|
|
return; |
|
|
|
const model = node.getModel(); |
|
|
|
if (model.attrs.length < 2) { |
|
|
|
return; |
|
|
|
} |
|
|
|
const idx = model.startIndex || 0; |
|
|
|
let startX = model.startX || 0.5; |
|
|
|
let startIndex = idx + y * 0.02; |
|
|
|
startX -= x; |
|
|
|
if (startIndex < 0) { |
|
|
|
startIndex = 0; |
|
|
|
} |
|
|
|
if (startX > 0) { |
|
|
|
startX = 0; |
|
|
|
} |
|
|
|
if (startIndex > model.attrs.length - 1) { |
|
|
|
startIndex = model.attrs.length - 1; |
|
|
|
} |
|
|
|
graph.updateItem(node, { |
|
|
|
startIndex, |
|
|
|
startX, |
|
|
|
}); |
|
|
|
node.getEdges().forEach(edge => edgesToUpdate.add(edge)) |
|
|
|
}); |
|
|
|
// G6 update the related edges when graph.updateItem with a node according to the new properties |
|
|
|
// here you need to update the related edges manualy since the new properties { startIndex, startX } for the nodes are custom, and cannot be recognized by G6 |
|
|
|
edgesToUpdate.forEach(edge => edge.refresh()) |
|
|
|
} |
|
|
|
}, |
|
|
|
scorll(e) {}, |
|
|
|
click(e) { |
|
|
|
const { |
|
|
|
graph |
|
|
|
@ -164,27 +212,9 @@ function initG6() { |
|
|
|
}) |
|
|
|
} |
|
|
|
}, |
|
|
|
mousedown(e) { |
|
|
|
this.isMousedown = true; |
|
|
|
}, |
|
|
|
mouseup(e) { |
|
|
|
this.isMousedown = false; |
|
|
|
}, |
|
|
|
move(e) { |
|
|
|
if (this.isMousedown) return; |
|
|
|
// const name = e.shape.get("name"); |
|
|
|
// const item = e.item; |
|
|
|
// |
|
|
|
// if (name && name.startsWith("item")) { |
|
|
|
// this.graph.updateItem(item, { |
|
|
|
// selectedIndex: Number(name.split("-")[1]), |
|
|
|
// }); |
|
|
|
// } else { |
|
|
|
// this.graph.updateItem(item, { |
|
|
|
// selectedIndex: NaN, |
|
|
|
// }); |
|
|
|
// } |
|
|
|
}, |
|
|
|
mousedown(e) {}, |
|
|
|
mouseup(e) {}, |
|
|
|
move(e) {}, |
|
|
|
}); |
|
|
|
|
|
|
|
registerEdge("dice-er-edge", { |
|
|
|
@ -192,43 +222,35 @@ function initG6() { |
|
|
|
const edge = group.cfg.item; |
|
|
|
const sourceNode = edge.getSource().getModel(); |
|
|
|
const targetNode = edge.getTarget().getModel(); |
|
|
|
|
|
|
|
const sourceIndex = sourceNode.attrs.findIndex( |
|
|
|
(e) => e.key === cfg.sourceKey |
|
|
|
); |
|
|
|
|
|
|
|
const sourceStartIndex = sourceNode.startIndex || 0; |
|
|
|
|
|
|
|
let sourceY = 15; |
|
|
|
|
|
|
|
if (!sourceNode.collapsed && sourceIndex > sourceStartIndex - 1) { |
|
|
|
sourceY = 30 + (sourceIndex - sourceStartIndex + 0.5) * itemHeight; |
|
|
|
} |
|
|
|
|
|
|
|
const targetIndex = targetNode.attrs.findIndex( |
|
|
|
(e) => e.key === cfg.targetKey |
|
|
|
); |
|
|
|
|
|
|
|
const targetStartIndex = targetNode.startIndex || 0; |
|
|
|
|
|
|
|
let targetY = 15; |
|
|
|
|
|
|
|
if (!targetNode.collapsed && targetIndex > targetStartIndex - 1) { |
|
|
|
targetY = (targetIndex - targetStartIndex + 0.5) * itemHeight + 30; |
|
|
|
} |
|
|
|
|
|
|
|
const startPoint = { |
|
|
|
...cfg.startPoint |
|
|
|
}; |
|
|
|
const endPoint = { |
|
|
|
...cfg.endPoint |
|
|
|
}; |
|
|
|
|
|
|
|
startPoint.y = startPoint.y + sourceY; |
|
|
|
endPoint.y = endPoint.y + targetY; |
|
|
|
|
|
|
|
let shape; |
|
|
|
let arrowConfig = null; |
|
|
|
if (sourceNode.id !== targetNode.id) { |
|
|
|
// 添加自定义SVG箭头 |
|
|
|
if (cfg.relationType) { |
|
|
|
shape = group.addShape("path", { |
|
|
|
attrs: { |
|
|
|
stroke: "#5B8FF9", |
|
|
|
@ -240,15 +262,54 @@ function initG6() { |
|
|
|
startPoint.y, |
|
|
|
endPoint.x / 3 + (2 / 3) * startPoint.x, |
|
|
|
endPoint.y, |
|
|
|
endPoint.x - ((cfg.relationType === '2' || cfg.relationType === '4')? 16:8), |
|
|
|
endPoint.y, |
|
|
|
endPoint.x, |
|
|
|
endPoint.y, |
|
|
|
], |
|
|
|
], |
|
|
|
endArrow: props.type === 'er'? {path:G6.Arrow.triangle(10,-10,6),fill:'#5B8FF9'} : false//cfg.endArrow, |
|
|
|
}, |
|
|
|
// must be assigned in G6 3.3 and later versions. it can be any string you want, but should be unique in a custom item type |
|
|
|
name: "path-shape", |
|
|
|
}); |
|
|
|
const arrowSvg = getArrowSvgByType(cfg.relationType) |
|
|
|
// 计算贝塞尔曲线终点切线方向 |
|
|
|
// 计算箭头配置 |
|
|
|
arrowConfig = calculateArrowPosition(startPoint, endPoint, (cfg.relationType === '2' || cfg.relationType === '4')?16:8); |
|
|
|
// 添加SVG图标 |
|
|
|
const arrowShape = group.addShape('image', { |
|
|
|
attrs: { |
|
|
|
x: arrowConfig.x-((cfg.relationType === '2' || cfg.relationType === '4')?8:4), |
|
|
|
y: arrowConfig.y+4, |
|
|
|
width: 8, |
|
|
|
height: (cfg.relationType === '2' || cfg.relationType === '4')?16:8, |
|
|
|
'img':arrowSvg, |
|
|
|
cursor: 'pointer', |
|
|
|
}, |
|
|
|
name: 'custom-arrow', |
|
|
|
}) |
|
|
|
arrowShape.rotateAtStart(arrowConfig.rotate); |
|
|
|
}else{ |
|
|
|
shape = group.addShape("path", { |
|
|
|
attrs: { |
|
|
|
stroke: "#5B8FF9", |
|
|
|
path: [ |
|
|
|
["M", startPoint.x, startPoint.y], |
|
|
|
[ |
|
|
|
"C", |
|
|
|
endPoint.x / 3 + (2 / 3) * startPoint.x, |
|
|
|
startPoint.y, |
|
|
|
endPoint.x / 3 + (2 / 3) * startPoint.x, |
|
|
|
endPoint.y, |
|
|
|
endPoint.x, |
|
|
|
endPoint.y, |
|
|
|
], |
|
|
|
], |
|
|
|
}, |
|
|
|
// must be assigned in G6 3.3 and later versions. it can be any string you want, but should be unique in a custom item type |
|
|
|
name: "path-shape", |
|
|
|
}); |
|
|
|
} |
|
|
|
} else { |
|
|
|
let gap = Math.abs((startPoint.y - endPoint.y) / 3); |
|
|
|
if (startPoint["index"] === 1) { |
|
|
|
@ -269,11 +330,33 @@ function initG6() { |
|
|
|
endPoint.y, |
|
|
|
], |
|
|
|
], |
|
|
|
endArrow: props.type === 'er'? {path: G6.Arrow.triangle(10,-10,6),fill:'#5B8FF9'} : false//cfg.endArrow, |
|
|
|
}, |
|
|
|
// must be assigned in G6 3.3 and later versions. it can be any string you want, but should be unique in a custom item type |
|
|
|
name: "path-shape", |
|
|
|
}); |
|
|
|
// 为自环边添加自定义箭头 |
|
|
|
if (cfg.relationType) { |
|
|
|
const arrowSvg = getArrowSvgByType(cfg.relationType) |
|
|
|
// 自环边的角度计算(垂直向下) |
|
|
|
const angle = -Math.PI / 2 // 90度向上 |
|
|
|
const degree = angle * (180 / Math.PI) |
|
|
|
// 箭头大小和位置 |
|
|
|
const arrowSize = 8 |
|
|
|
const arrowX = startPoint.x - arrowSize / 2 |
|
|
|
const arrowY = endPoint.y - arrowSize |
|
|
|
group.addShape('image', { |
|
|
|
attrs: { |
|
|
|
x: arrowX, |
|
|
|
y: arrowY, |
|
|
|
width: arrowSize, |
|
|
|
height: arrowSize, |
|
|
|
img: arrowSvg, |
|
|
|
rotate: degree, |
|
|
|
cursor: 'pointer', |
|
|
|
}, |
|
|
|
name: 'custom-arrow', |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
return shape; |
|
|
|
}, |
|
|
|
@ -436,46 +519,6 @@ function initG6() { |
|
|
|
}, |
|
|
|
draggable: true, |
|
|
|
}); |
|
|
|
|
|
|
|
if (list.length + 1 > itemCount) { |
|
|
|
const barStyle = { |
|
|
|
width: 4, |
|
|
|
padding: 0, |
|
|
|
boxStyle: { |
|
|
|
stroke: "#00000022", |
|
|
|
}, |
|
|
|
innerStyle: { |
|
|
|
fill: "#00000022", |
|
|
|
}, |
|
|
|
}; |
|
|
|
//滚动轴 |
|
|
|
listContainer.addShape("rect", { |
|
|
|
attrs: { |
|
|
|
y: 30, |
|
|
|
x: width - barStyle.padding - barStyle.width, |
|
|
|
width: barStyle.width, |
|
|
|
height: (list.length + 1) * itemHeight - 30, |
|
|
|
...barStyle.boxStyle, |
|
|
|
}, |
|
|
|
}); |
|
|
|
|
|
|
|
const indexHeight = |
|
|
|
afterList.length > itemCount ? |
|
|
|
(afterList.length / list.length + 1) * (list.length + 1) * itemHeight : |
|
|
|
10; |
|
|
|
//滚动轴框 |
|
|
|
listContainer.addShape("rect", { |
|
|
|
attrs: { |
|
|
|
y: 30 + |
|
|
|
barStyle.padding + |
|
|
|
(startIndex / list.length + 1) * ((list.length + 1) * itemHeight - 30), |
|
|
|
x: width - barStyle.padding - barStyle.width, |
|
|
|
width: barStyle.width, |
|
|
|
height: Math.min((list.length + 1) * itemHeight, indexHeight), |
|
|
|
...barStyle.innerStyle, |
|
|
|
}, |
|
|
|
}); |
|
|
|
} |
|
|
|
if (afterList) { |
|
|
|
afterList.forEach((e, i) => { |
|
|
|
const isSelected = |
|
|
|
@ -502,35 +545,18 @@ function initG6() { |
|
|
|
name: `item-${Math.floor(startIndex) + i}-content`, |
|
|
|
draggable: true, |
|
|
|
}); |
|
|
|
|
|
|
|
if (!cfg.hideDot) { |
|
|
|
//左边连接桩 |
|
|
|
listContainer.addShape("circle", { |
|
|
|
attrs: { |
|
|
|
x: 0, |
|
|
|
y: i * itemHeight + offsetY, |
|
|
|
r: 3, |
|
|
|
stroke: boxStyle.stroke, |
|
|
|
fill: "white", |
|
|
|
radius: 2, |
|
|
|
lineWidth: 1, |
|
|
|
cursor: "pointer", |
|
|
|
}, |
|
|
|
}); |
|
|
|
//右边连接桩 |
|
|
|
listContainer.addShape("circle", { |
|
|
|
listContainer.addShape("line", { |
|
|
|
attrs: { |
|
|
|
x: width, |
|
|
|
y: i * itemHeight + offsetY, |
|
|
|
r: 3, |
|
|
|
stroke: boxStyle.stroke, |
|
|
|
fill: "white", |
|
|
|
radius: 2, |
|
|
|
lineWidth: 1, |
|
|
|
x1: 0, |
|
|
|
y1: i * itemHeight - itemHeight / 2 + offsetY, |
|
|
|
x2: width, |
|
|
|
y2: i * itemHeight - itemHeight / 2 + offsetY, |
|
|
|
stroke: 'black', |
|
|
|
lineWidth: 0.1, |
|
|
|
cursor: "pointer", |
|
|
|
}, |
|
|
|
name: `item-${Math.floor(startIndex) + i}-top-border`, |
|
|
|
}); |
|
|
|
} |
|
|
|
//字段文字 |
|
|
|
listContainer.addShape("text", { |
|
|
|
attrs: { |
|
|
|
@ -577,6 +603,7 @@ function initG6() { |
|
|
|
target: relation.nodeId, |
|
|
|
sourceKey: attr.key, |
|
|
|
endArrow: relation.endArrow, |
|
|
|
relationType: relation.relationType, |
|
|
|
targetKey: relation.key, |
|
|
|
label: relation.label, |
|
|
|
}); |
|
|
|
@ -627,7 +654,7 @@ function initG6() { |
|
|
|
style: { |
|
|
|
stroke: '#e2e2e2', |
|
|
|
lineWidth: 4, |
|
|
|
endArrow: {path: G6.Arrow.triangle(10,-10,6),fill:'#5B8FF9'}, |
|
|
|
// endArrow: {path: G6.Arrow.triangle(10, -10, 6), fill: '#5B8FF9'}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
modes: { |
|
|
|
@ -651,7 +678,7 @@ function initG6() { |
|
|
|
|
|
|
|
watch( |
|
|
|
() => props.data, |
|
|
|
(val) => { |
|
|
|
async (val) => { |
|
|
|
g6data.value = [] |
|
|
|
if (props.data.tableList && props.data.tableList.length > 0) { |
|
|
|
for (let i = 0; i < props.data.tableList.length; i++) { |
|
|
|
@ -677,6 +704,7 @@ watch( |
|
|
|
let tableKey = relation.source.ssys_cd + "-" + relation.source.mdl_name + "-" + relation.source.tab_eng_name |
|
|
|
let nodeId = relation.target.ssys_cd + "-" + relation.target.mdl_name + "-" + relation.target.tab_eng_name |
|
|
|
let endArrow = relation.endArrow; |
|
|
|
let relationType = relation.relation_type; |
|
|
|
if (g6data.value.length > 0) { |
|
|
|
for (let j = 0; j < g6data.value.length; j++) { |
|
|
|
if (g6data.value[j].id === tableKey) { |
|
|
|
@ -690,18 +718,26 @@ watch( |
|
|
|
} |
|
|
|
} |
|
|
|
if (!hasRelation) { |
|
|
|
g6data.value[j].attrs[k].relation.push({ |
|
|
|
let obj = { |
|
|
|
key: key, |
|
|
|
nodeId: nodeId, |
|
|
|
endArrow: endArrow |
|
|
|
}) |
|
|
|
} |
|
|
|
if (relationType && relationType.length>0){ |
|
|
|
obj.relationType = relationType |
|
|
|
} |
|
|
|
g6data.value[j].attrs[k].relation.push(obj) |
|
|
|
} |
|
|
|
} else { |
|
|
|
g6data.value[j].attrs[k].relation = [{ |
|
|
|
let obj = { |
|
|
|
key: key, |
|
|
|
nodeId: nodeId, |
|
|
|
endArrow: endArrow |
|
|
|
}] |
|
|
|
} |
|
|
|
if (relationType && relationType.length>0){ |
|
|
|
obj.relationType = relationType |
|
|
|
} |
|
|
|
g6data.value[j].attrs[k].relation = [obj] |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
@ -721,11 +757,17 @@ watch( |
|
|
|
initG6() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
{ deep: true,immediate: true } |
|
|
|
) |
|
|
|
|
|
|
|
onMounted(async () => { |
|
|
|
[svg11.value, svg11n.value, svg101.value, svg101n.value] = await Promise.all([ |
|
|
|
initSvg(svgUrl11), |
|
|
|
initSvg(svgUrl11n), |
|
|
|
initSvg(svgUrl101), |
|
|
|
initSvg(svgUrl101n) |
|
|
|
]) |
|
|
|
}) |
|
|
|
</script> |
|
|
|
|
|
|
|
<style scoped lang="scss"> |
|
|
|
|