Merge branch 'dev' into master-fetch-dev

This commit is contained in:
奔跑的面条 2024-06-05 18:26:25 +08:00
commit d60a1fd979
2 changed files with 2 additions and 1 deletions

View File

@ -25,7 +25,7 @@ export const isDev = () => {
* @param { Number } randomLength
*/
export const getUUID = (randomLength = 10) => {
return Number(Math.random().toString().substring(2, randomLength) + Date.now()).toString(36)
return 'id_' + Number(Math.random().toString().substring(2, randomLength) + Date.now()).toString(36)
}
/**

View File

@ -1,6 +1,7 @@
<template>
<div
class="chart-item"
:id="item.id"
v-for="(item, index) in chartEditStore.componentList"
:class="animationsClass(item.styles.animations)"
:key="item.id"