Code Monkey home page Code Monkey logo

Comments (9)

mosiboom avatar mosiboom commented on August 20, 2024

截一下图吧,我不太清楚您的意思

from dcat-iframe-tab.

candivan avatar candivan commented on August 20, 2024

就是在A页面做一个链接跳转到B页面。这时候A页面变成和B页面一样

$url = "/admin/user?id=" . $this->rid;
return "<a iframe-extends=true iframe-tab=false href='$url' title=''>{$this->rid}</a>";

from dcat-iframe-tab.

mosiboom avatar mosiboom commented on August 20, 2024

您的意思是,他没有跳转到对应用户的信息吗?也就是
"/admin/user?id=" . $this->rid;
?

from dcat-iframe-tab.

candivan avatar candivan commented on August 20, 2024

截一下图吧,我不太清楚您的意思

您的意思是,他没有跳转到对应用户的信息吗?也就是 "/admin/user?id=" . $this->rid; ?

跳到了 但是之前的页面也变成用户信息页面了

from dcat-iframe-tab.

mosiboom avatar mosiboom commented on August 20, 2024

尝试一下这样:
<a iframe-extends=true iframe-tab=true href='$url' title=''>{$this->rid}</a>
文档有写的,这个属性iframe-tab=true开启一下:

image

from dcat-iframe-tab.

candivan avatar candivan commented on August 20, 2024

尝试一下这样: <a iframe-extends=true iframe-tab=true href='$url' title=''>{$this->rid}</a> 文档有写的,这个属性iframe-tab=true开启一下:

image

一样的

from dcat-iframe-tab.

mosiboom avatar mosiboom commented on August 20, 2024

检查一下js,看看是否有冒泡事件产生,我默认是把a链接的跳转事件禁用了的,正常来说是不会有什么问题,可能是由于您的某些操作覆盖了默认的冒泡事件,可以看下源码:
src/assets/js/extend.js/

from dcat-iframe-tab.

candivan avatar candivan commented on August 20, 2024

检查一下js,看看是否有冒泡事件产生,我默认是把a链接的跳转事件禁用了的,正常来说是不会有什么问题,可能是由于您的某些操作覆盖了默认的冒泡事件,可以看下源码: src/assets/js/extend.js/

<a iframe-extends=true iframe-tab=true href='$url' title='' target='_blank'>{$this->rid}</a> 加了target='_blank'就可以了

from dcat-iframe-tab.

candivan avatar candivan commented on August 20, 2024

检查一下js,看看是否有冒泡事件产生,我默认是把a链接的跳转事件禁用了的,正常来说是不会有什么问题,可能是由于您的某些操作覆盖了默认的冒泡事件,可以看下源码: src/assets/js/extend.js/

你文档可以补一下 target='_blank'

from dcat-iframe-tab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.