chore: 删除v console.log #96
This commit is contained in:
@@ -20,7 +20,6 @@ export const usePersonConfig = defineStore('person', () => {
|
|||||||
personConfig.value.allPersonList = data
|
personConfig.value.allPersonList = data
|
||||||
})
|
})
|
||||||
personDb.getAllData('alreadyPersonList').then((data) => {
|
personDb.getAllData('alreadyPersonList').then((data) => {
|
||||||
console.log(data)
|
|
||||||
personConfig.value.alreadyPersonList = data
|
personConfig.value.alreadyPersonList = data
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -153,7 +153,6 @@ watch(backgroundImageValue, (val) => {
|
|||||||
globalConfig.setBackground(val)
|
globalConfig.setBackground(val)
|
||||||
})
|
})
|
||||||
watch(currentFontValue, (val) => {
|
watch(currentFontValue, (val) => {
|
||||||
console.log('currentFontValue', val)
|
|
||||||
globalConfig.setFont(val)
|
globalConfig.setFont(val)
|
||||||
document.documentElement.style.setProperty('--app-font-family', `"${val}", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif`)
|
document.documentElement.style.setProperty('--app-font-family', `"${val}", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif`)
|
||||||
}, { immediate: true })
|
}, { immediate: true })
|
||||||
|
|||||||
@@ -49,7 +49,6 @@ async function getImageDbStore() {
|
|||||||
const keys = await imageDbStore.keys()
|
const keys = await imageDbStore.keys()
|
||||||
if (keys.length > 0) {
|
if (keys.length > 0) {
|
||||||
imageDbStore.iterate((value: { fileName: string, dataUrl: string }, key: string) => {
|
imageDbStore.iterate((value: { fileName: string, dataUrl: string }, key: string) => {
|
||||||
console.log(value, key)
|
|
||||||
globalConfig.addImage({
|
globalConfig.addImage({
|
||||||
id: key,
|
id: key,
|
||||||
name: value.fileName,
|
name: value.fileName,
|
||||||
|
|||||||
@@ -136,7 +136,6 @@ onMounted(() => {
|
|||||||
getImageDbStore()
|
getImageDbStore()
|
||||||
})
|
})
|
||||||
watch(() => prizeList.value, (val: IPrizeConfig[]) => {
|
watch(() => prizeList.value, (val: IPrizeConfig[]) => {
|
||||||
console.log('prizeList', val)
|
|
||||||
prizeConfig.setPrizeConfig(val)
|
prizeConfig.setPrizeConfig(val)
|
||||||
}, { deep: true })
|
}, { deep: true })
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -89,7 +89,6 @@ export function usePrizeConfig() {
|
|||||||
getImageDbStore()
|
getImageDbStore()
|
||||||
})
|
})
|
||||||
watch(() => prizeList.value, (val: IPrizeConfig[]) => {
|
watch(() => prizeList.value, (val: IPrizeConfig[]) => {
|
||||||
console.log('prizeList', val)
|
|
||||||
prizeConfig.setPrizeConfig(val)
|
prizeConfig.setPrizeConfig(val)
|
||||||
}, { deep: true })
|
}, { deep: true })
|
||||||
|
|
||||||
|
|||||||
@@ -160,7 +160,6 @@ export function useViewModel() {
|
|||||||
for (let i = 0; i < objLength; ++i) {
|
for (let i = 0; i < objLength; ++i) {
|
||||||
const object = objects.value[i]
|
const object = objects.value[i]
|
||||||
const target = targets[i]
|
const target = targets[i]
|
||||||
// console.log('target', i, target, targets)
|
|
||||||
new TWEEN.Tween(object.position)
|
new TWEEN.Tween(object.position)
|
||||||
.to({ x: target.position.x, y: target.position.y, z: target.position.z }, Math.random() * duration + duration)
|
.to({ x: target.position.x, y: target.position.y, z: target.position.z }, Math.random() * duration + duration)
|
||||||
.easing(TWEEN.Easing.Exponential.InOut)
|
.easing(TWEEN.Easing.Exponential.InOut)
|
||||||
|
|||||||
Reference in New Issue
Block a user