bugfix
This commit is contained in:
parent
a621c6402a
commit
0772dd8750
@ -106,7 +106,7 @@ router.beforeEach(async (to, from, next) => {
|
||||
// NProgress.done();
|
||||
// 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)
|
||||
try {
|
||||
if (to.path.includes("/beforeLogin") || to.path.includes("/registrationPage")) {
|
||||
|
||||
@ -65,6 +65,12 @@ export const constantRoutes = [
|
||||
component: () => import('@/views/beforeLogin/index.vue'),
|
||||
hidden: true
|
||||
},
|
||||
{
|
||||
path: '/demoDify',
|
||||
name: 'DemoDify',
|
||||
title: 'DemoDify',
|
||||
component: () => import('@/views/demoDify/index.vue'),
|
||||
},
|
||||
|
||||
{
|
||||
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'){
|
||||
|
||||
reqPublishProductCollect({
|
||||
productid:item.productid,
|
||||
productid:item.productid?item.productid:item.id,
|
||||
favorite_type:item.publish_type
|
||||
}).then(res=>{
|
||||
item.favorite='1'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user