@ -2,7 +2,7 @@
<div class="preview page">
<van-nav-bar
class="bg-skyBlue py-1"
@click-left="$router.push('/card/edit')"
@click-left="$router.push('/card')"
>
<template #title>
<h5 class="text-white mb-1"><strong>預覽</strong></h5>
@ -51,7 +51,7 @@ const routes = [
component: Card,
children: [
{
path: "/card/edit",
path: "/card",
name: "CardEdit",
component: () =>
import("../views/Card/Edit.vue"),
@ -295,7 +295,7 @@ const handleSubmit = async () => {
// } else {
// showToast.fail("建立失敗");
// }
router.push("/card/edit");
router.push("/card");
};
</script>
@ -1,5 +1,5 @@
<template>
<van-nav-bar title="教學影片" right-text="關閉" @click-right="$router.push('/card/edit')" />
<van-nav-bar title="教學影片" right-text="關閉" @click-right="$router.push('/card')" />
<div class="yt-content">
<iframe width="375" height="215" src="https://www.youtube.com/embed/fjZsQ0Rh6yk" title="Utel電子名片教學"
frameborder="0"
@ -209,7 +209,7 @@ const goCardEdit = () => {
if (userInfo.value.level < 2) {
router.push("/card/notice");
} else {
}