diff --git a/ZR.Vue/package.json b/ZR.Vue/package.json index fce507a..87b4cd3 100644 --- a/ZR.Vue/package.json +++ b/ZR.Vue/package.json @@ -58,7 +58,7 @@ "babel-eslint": "10.1.0", "babel-jest": "23.6.0", "babel-plugin-dynamic-import-node": "2.3.3", - "chalk": "2.4.2", + "chalk": "4.1.0", "chokidar": "2.1.5", "connect": "3.6.6", "eslint": "6.7.2", diff --git a/ZR.Vue/src/components/ThemePicker/index.vue b/ZR.Vue/src/components/ThemePicker/index.vue index bf13c28..d8f9d1e 100644 --- a/ZR.Vue/src/components/ThemePicker/index.vue +++ b/ZR.Vue/src/components/ThemePicker/index.vue @@ -42,6 +42,7 @@ export default { methods: { async setTheme(val) { + console.log('%c setTheme Color','color:' + val) const oldVal = this.chalk ? this.theme : ORIGINAL_THEME if (typeof val !== 'string') return const themeCluster = this.getThemeCluster(val.replace('#', '')) diff --git a/ZR.Vue/src/components/TopNav/index.vue b/ZR.Vue/src/components/TopNav/index.vue index 8cc019e..32358ef 100644 --- a/ZR.Vue/src/components/TopNav/index.vue +++ b/ZR.Vue/src/components/TopNav/index.vue @@ -8,7 +8,7 @@ - +