Weakdancer
V2EX  ›  问与答

请问网页中相对路径不能实现是怎么回事?

  •  
  •   Weakdancer · Dec 31, 2010 · 5270 views
    This topic created in 5792 days ago, the information mentioned may be changed or developed.
    http://lzgjinbi.appspot.com/about

    帮朋友做了个站,但是相对路径有问题。

    那个页面里的相对是:
    http://lzgjinbi.appspot.com/相对

    却不是:
    http://lzgjinbi.appspot.com/about/相对

    这是怎么回事?
    5 replies  •  1970-01-01 08:00:00 +08:00
    Weakdancer
    Weakdancer
    OP
    Dec 31, 2010
    2
    。。。

    没有看懂。

    你说的是绝对路径吗?

    @aligo
    Weakdancer
    Weakdancer
    OP
    Dec 31, 2010
    3
    可是我说的是我想实现相对路径,却没有实现。

    这是怎么回事?
    CoX
    CoX
    Dec 31, 2010
    4
    @Weakdancer about 后面得有 / ,这样才能相对
    Weakdancer
    Weakdancer
    OP
    Dec 31, 2010
    5
    原来这样啊

    @aligo 刚才没看懂
    @CoX

    谢谢二位
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2238 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 00:17 · PVG 08:17 · LAX 16:17 · JFK 19:17
    ♥ Do have faith in what you're doing.