Merge remote-tracking branch 'origin/StableVersion' into dev_vite

This commit is contained in:
X1627315083
2025-11-17 17:16:49 +08:00
4 changed files with 977 additions and 952 deletions

View File

@@ -0,0 +1,23 @@
1. 初始化事件
object:added当新对象被添加到画布上时触发。
object:removed当对象从画布上移除时触发。
selection:created当选择对象时触发。
selection:updated当选择的对象被更新时触发。
selection:cleared当所有对象都被取消选择时触发。
2. 鼠标事件
mouse:down鼠标按下时触发。
mouse:move鼠标移动时触发。
mouse:up鼠标释放时触发。
mouse:over鼠标移到画布上时触发。
mouse:out鼠标移出画布时触发。
mouse:wheel鼠标滚轮滚动时触发。
3. 触摸事件(在触摸屏设备上)
touch:start触摸开始时触发。
touch:move触摸移动时触发。
touch:end触摸结束时触发。
4. 键盘事件
key:down键盘按键按下时触发。
key:up键盘按键释放时触发。

View File

@@ -57,7 +57,8 @@ export default defineComponent({
const getDetailListData = reactive({
})
const selectImgItem = (file:any)=>{
const selectImgItem = (data:any)=>{
let file = JSON.parse(JSON.stringify(data))
if(props.type != 'models'){
if(!file.resData?.minIOPath){
file.minIOPath = getMinioUrl(file?.imgUrl || file?.resData?.url)

File diff suppressed because it is too large Load Diff

View File

@@ -452,7 +452,7 @@ export default defineComponent({
return message.info(t('newScaleImage.jsContent2'))
}
let id = await getWorks(imgData.scaleImageData.id)
router.push(`/home?history=${id}`)
router.push(`/home/history/${id}`)
// router.push({name:'home',params: {id:imgData.scaleImageData.id,type:'Works'}})
store.commit('setChooseIsDesign',false)
// router.push({name:'homePage',params: {id:imgData.scaleImageData.userLikeGroupSourceId,type:'Works'}})