From: Akko <48849602+Henrycheheng@users.noreply.github.com> Date: Tue, 24 Oct 2023 16:01:17 +0000 (+0800) Subject: chore(playground): cast symbol to String (#2462) X-Git-Tag: @pinia/nuxt@0.5.2-beta.0~106 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=34a9ef0c52be9c5b972dc424c09d7746d883b674;p=thirdparty%2Fvuejs%2Fpinia.git chore(playground): cast symbol to String (#2462) --- diff --git a/packages/playground/src/App.vue b/packages/playground/src/App.vue index 28712067..994cdc80 100644 --- a/packages/playground/src/App.vue +++ b/packages/playground/src/App.vue @@ -40,7 +40,9 @@ const pages = router const sourceCodeLink = computed(() => { if (route.name) { - return `https://github.com/vuejs/pinia/blob/v2/packages/playground/src/views/${route.name}.vue` + return `https://github.com/vuejs/pinia/blob/v2/packages/playground/src/views/${String( + route.name + )}.vue` } else { return `https://github.com/vuejs/pinia/blob/v2/packages/playground/src/` }