The function getTitleColor returns a color based on the value of the title parameter. If title is true, it will return either #1990FF or #00E0DB based on the current theme in the state of the Vuex store. If title is false, it will return either #1990FF or #5AE7DC based on the current theme in the state of the Vuex store. The function also logs the value of title to the console.

getTitleColortitle = true if title consolelogtitle return this$storestatesettingstheme === default #1990FF #00E0DB else consolelogtitle return this$storesta

原文地址: https://www.cveoy.top/t/topic/ixaV 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录