Coder Social home page Coder Social logo

metis 前端启动报错 about metis HOT 3 OPEN

Liyaozhou avatar Liyaozhou commented on June 2, 2024
metis 前端启动报错

from metis.

Comments (3)

zhoukang0807 avatar zhoukang0807 commented on June 2, 2024

文件:Metis\uweb\lib\uw-frame\lib\core\builtIn\login.ts
Ts类型转换报错 42行和43行 替换为
let queryWoTicket = qs.stringify(queryWithoutTicket);
history.replace(${pathname}${queryWoTicket === '' ? '' : ?${queryWoTicket}});

from metis.

Tomcroods avatar Tomcroods commented on June 2, 2024

文件:Metis\uweb\lib\uw-frame\lib\core\builtIn\login.ts
Ts类型转换报错 42行和43行 替换为
let queryWoTicket = qs.stringify(queryWithoutTicket);
history.replace(${pathname}${queryWoTicket === '' ? '' : ?${queryWoTicket}});

感谢zhoukang0807的评论,但其中的$和}前面的特殊符号在github评论区显示不出来,实际上要表达的意思是使用一个新的变量queryWoTicket。从而避免类型转换问题。

from metis.

fudiyang avatar fudiyang commented on June 2, 2024

你好,我也是前端启动报错,也有你提到的这个错误,按你的方式解决了,但还有6个TS2339: Property 'iframe' does not exist on type '{}'.这种类似的问题,编译成功后,但访问地址没有内容,请问你还有编译运行成功后的包吗

from metis.

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.