mirror of
https://gitee.com/dromara/go-view.git
synced 2025-04-23 09:50:23 +08:00
Merge branch 'dev' into master-fetch-dev
This commit is contained in:
commit
c5706f839e
@ -26,6 +26,13 @@ const themeColor = computed(() => {
|
|||||||
watch(
|
watch(
|
||||||
() => chartLayoutStore.getPercentage,
|
() => chartLayoutStore.getPercentage,
|
||||||
newValue => {
|
newValue => {
|
||||||
|
if (newValue === 0) {
|
||||||
|
setTimeout(() => {
|
||||||
|
percentage.value = newValue
|
||||||
|
showModal.value = false
|
||||||
|
}, 500);
|
||||||
|
return
|
||||||
|
}
|
||||||
percentage.value = newValue
|
percentage.value = newValue
|
||||||
showModal.value = newValue > 0
|
showModal.value = newValue > 0
|
||||||
}
|
}
|
||||||
|
@ -168,7 +168,6 @@ export const useSync = () => {
|
|||||||
if (key === ChartEditStoreEnum.COMPONENT_LIST) {
|
if (key === ChartEditStoreEnum.COMPONENT_LIST) {
|
||||||
let loadIndex = 0
|
let loadIndex = 0
|
||||||
const listLength = projectData[key].length;
|
const listLength = projectData[key].length;
|
||||||
console.log(listLength)
|
|
||||||
for (const comItem of projectData[key]) {
|
for (const comItem of projectData[key]) {
|
||||||
// 设置加载数量
|
// 设置加载数量
|
||||||
let percentage = parseInt((parseFloat(`${++loadIndex / listLength}`) * 100).toString())
|
let percentage = parseInt((parseFloat(`${++loadIndex / listLength}`) * 100).toString())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user