bugfix
This commit is contained in:
parent
a621c6402a
commit
0772dd8750
@ -106,7 +106,7 @@ router.beforeEach(async (to, from, next) => {
|
|||||||
// NProgress.done();
|
// NProgress.done();
|
||||||
// return
|
// return
|
||||||
// }
|
// }
|
||||||
if (to.path.includes("/ncmatchHome")||to.path.includes("/kyyForm") || to.path.includes("/screen") || to.path.includes("/beforeLogin") || to.path.includes("/wxDetailPage") || to.path.includes("/wxPage") || to.path.includes("/login") || to.path.includes("/homePage") || to.path.includes("/registrationPage") || to.path.includes("/payPage") || to.path.includes("/paySuccess") || to.path.includes("/homePageImage")) {
|
if (to.path.includes("/demoDify")||to.path.includes("/ncmatchHome")||to.path.includes("/kyyForm") || to.path.includes("/screen") || to.path.includes("/beforeLogin") || to.path.includes("/wxDetailPage") || to.path.includes("/wxPage") || to.path.includes("/login") || to.path.includes("/homePage") || to.path.includes("/registrationPage") || to.path.includes("/payPage") || to.path.includes("/paySuccess") || to.path.includes("/homePageImage")) {
|
||||||
console.log("to", to)
|
console.log("to", to)
|
||||||
try {
|
try {
|
||||||
if (to.path.includes("/beforeLogin") || to.path.includes("/registrationPage")) {
|
if (to.path.includes("/beforeLogin") || to.path.includes("/registrationPage")) {
|
||||||
|
|||||||
@ -65,6 +65,12 @@ export const constantRoutes = [
|
|||||||
component: () => import('@/views/beforeLogin/index.vue'),
|
component: () => import('@/views/beforeLogin/index.vue'),
|
||||||
hidden: true
|
hidden: true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/demoDify',
|
||||||
|
name: 'DemoDify',
|
||||||
|
title: 'DemoDify',
|
||||||
|
component: () => import('@/views/demoDify/index.vue'),
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
path: '/wxPage',
|
path: '/wxPage',
|
||||||
|
|||||||
17
f/web-kboss/src/views/demoDify/index.vue
Normal file
17
f/web-kboss/src/views/demoDify/index.vue
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
|
||||||
|
<iframe
|
||||||
|
src="http://aigc.smartcrec.com/chatbot/HKghmPZLD4JczCXc"
|
||||||
|
style="width: 100%; height: 100%; min-height: 700px"
|
||||||
|
frameborder="0"
|
||||||
|
allow="microphone">
|
||||||
|
</iframe>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: 'DemoDify',
|
||||||
|
}
|
||||||
|
</script>
|
||||||
@ -248,7 +248,7 @@ export default {
|
|||||||
}else if(item.favorite=='0'){
|
}else if(item.favorite=='0'){
|
||||||
|
|
||||||
reqPublishProductCollect({
|
reqPublishProductCollect({
|
||||||
productid:item.productid,
|
productid:item.productid?item.productid:item.id,
|
||||||
favorite_type:item.publish_type
|
favorite_type:item.publish_type
|
||||||
}).then(res=>{
|
}).then(res=>{
|
||||||
item.favorite='1'
|
item.favorite='1'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user