Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
dataease
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
njgzx
dataease
Commits
c81ca9d2
提交
c81ca9d2
authored
10月 12, 2021
作者:
wangjiahao
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: 修复过滤组件取消,图片上传取消矩阵模式依然占位的问题
上级
b5e0c6bd
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
14 行增加
和
5 行删除
+14
-5
index.vue
frontend/src/components/canvas/components/Editor/index.vue
+5
-3
index.vue
frontend/src/views/panel/AssistComponent/index.vue
+7
-1
index.vue
frontend/src/views/panel/edit/index.vue
+1
-0
index.vue
frontend/src/views/panel/filter/index.vue
+1
-1
没有找到文件。
frontend/src/components/canvas/components/Editor/index.vue
浏览文件 @
c81ca9d2
...
...
@@ -1352,7 +1352,7 @@ export default {
this
.
dragComponentInfo
.
shadowStyle
.
y
=
e
.
pageY
-
90
this
.
dragComponentInfo
.
style
.
left
=
this
.
dragComponentInfo
.
shadowStyle
.
x
/
this
.
scalePointWidth
this
.
dragComponentInfo
.
style
.
top
=
this
.
dragComponentInfo
.
shadowStyle
.
y
/
this
.
scalePointHeight
if
(
this
.
canvasStyleData
.
auxiliaryMatrix
)
{
if
(
this
.
dragComponentInfo
.
auxiliaryMatrix
)
{
this
.
onDragging
(
e
,
this
.
dragComponentInfo
)
}
},
...
...
@@ -1668,10 +1668,12 @@ export default {
},
removeLastItem
()
{
// console.log('rlI:' + JSON.stringify(this.yourList))
this
.
removeItem
(
this
.
yourList
.
length
-
1
)
if
(
this
.
canvasStyleData
.
auxiliaryMatrix
)
{
this
.
removeItem
(
this
.
yourList
.
length
-
1
)
}
},
startMoveIn
()
{
if
(
this
.
canvasStyleData
.
auxiliaryMatrix
)
{
if
(
this
.
dragComponentInfo
.
auxiliaryMatrix
)
{
const
moveInItemInfo
=
this
.
$store
.
state
.
dragComponentInfo
this
.
addItemBox
(
moveInItemInfo
)
// console.log('startMoveIn:')
...
...
frontend/src/views/panel/AssistComponent/index.vue
浏览文件 @
c81ca9d2
...
...
@@ -141,7 +141,13 @@ export default {
component
=
deepCopy
(
componentTemp
)
}
})
component
.
auxiliaryMatrix
=
this
.
canvasStyleData
.
auxiliaryMatrix
// 图片移入是 不支持矩阵 暂时无法监听窗口取消事件
if
(
component
.
type
!==
'picture-add'
)
{
component
.
auxiliaryMatrix
=
this
.
canvasStyleData
.
auxiliaryMatrix
}
else
{
component
.
auxiliaryMatrix
=
false
}
component
.
moveStatus
=
'start'
return
component
},
handleDragEnd
(
ev
)
{
...
...
frontend/src/views/panel/edit/index.vue
浏览文件 @
c81ca9d2
...
...
@@ -607,6 +607,7 @@ export default {
this
.
filterVisible
=
false
this
.
currentWidget
=
null
this
.
clearCurrentInfo
()
bus
.
$emit
(
'onRemoveLastItem'
)
},
sureFilter
()
{
this
.
currentFilterCom
.
options
.
value
=
[]
...
...
frontend/src/views/panel/filter/index.vue
浏览文件 @
c81ca9d2
...
...
@@ -97,7 +97,7 @@ export default {
dragComponentInfo
.
sizex
=
Math
.
round
(
dragComponentInfo
.
style
.
width
/
this
.
curCanvasScale
.
matrixStyleOriginWidth
)
dragComponentInfo
.
sizey
=
Math
.
round
(
dragComponentInfo
.
style
.
height
/
this
.
curCanvasScale
.
matrixStyleOriginHeight
)
dragComponentInfo
.
auxiliaryMatrix
=
this
.
canvasStyleData
.
auxiliaryMatrix
dragComponentInfo
.
moveStatus
=
'start'
this
.
$store
.
commit
(
'setDragComponentInfo'
,
dragComponentInfo
)
ev
.
dataTransfer
.
effectAllowed
=
'copy'
const
dataTrans
=
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论