Vue.js 获取标题颜色函数 getTitleColor() - 根据主题和参数返回不同颜色
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.
原文地址: https://www.cveoy.top/t/topic/qevo 著作权归作者所有。请勿转载和采集!