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