框架设计
This commit is contained in:
parent
6579ee1c2d
commit
8119c6c835
|
@ -123,7 +123,7 @@
|
|||
<!-- 边框样式 -->
|
||||
<div class="blockBox">
|
||||
<el-dropdown @command="updateStyle('lineDash', $event)" placement="top">
|
||||
<el-button><el-image src="../../../src/assets/images/borderstyle.png"
|
||||
<el-button><el-image :src="borderStyleImg"
|
||||
style="width: 14px; height: 14px"></el-image></el-button>
|
||||
<template #dropdown>
|
||||
<el-dropdown-menu>
|
||||
|
@ -303,6 +303,7 @@ import {
|
|||
import Contextmenu from './components/Contextmenu.vue'
|
||||
import { fontFamilyList, fontSizeList } from './constants'
|
||||
|
||||
const borderStyleImg = new URL('../../../src/assets/images/borderstyle.png', import.meta.url).href
|
||||
const borderImg = new URL('../../../src/assets/images/borderwidth.png', import.meta.url).href
|
||||
const pointerImg = new URL('../../../src/assets/images/mouse-pointer.png', import.meta.url).href
|
||||
const { proxy } = getCurrentInstance()
|
||||
|
|
|
@ -74,6 +74,7 @@ emitter.on('onShow', (data)=>{
|
|||
const getDetails = (id) =>{
|
||||
syllabuss(id).then( res =>{
|
||||
Object.assign(curItem, res.data)
|
||||
emitter.emit('onResult', res.data)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue