Giter Site home page Giter Site logo

Comments (7)

slowlyo avatar slowlyo commented on June 12, 2024

amis 渲染只能处理静态内容, 页面中的 js 不会被执行, 可以考虑用 iframe 实现, 或者想办法把 js 放到 bootstrap.php

from owl-admin.

emonduora avatar emonduora commented on June 12, 2024

谢谢,iframe 这样做不行,全是空白,放到bootstrap.php中不知道怎么做

<!DOCTYPE html>
<html lang="zh_CN">
<body>
<iframe src= 'http://localhost/bpmn'  style="border: none;width: 1200px;height: 600px" ></iframe>
</body>
</html>

from owl-admin.

slowlyo avatar slowlyo commented on June 12, 2024

菜单里面可以直接放地址的

from owl-admin.

emonduora avatar emonduora commented on June 12, 2024

这是对laravel的严重阉割了,太麻烦了

from owl-admin.

slowlyo avatar slowlyo commented on June 12, 2024

这是对laravel的严重阉割了,太麻烦了

这是个前后端分离的项目😅

from owl-admin.

emonduora avatar emonduora commented on June 12, 2024

我查文档有这样的说法
AMIS 提供了一个专门的 script 组件,允许你在页面上嵌入并执行 JavaScript。例如:
json
{
"body": [
{
"type": "script",
"src": "path/to/your/script.js"
}
]
}
或者
{
"body": [
{
"type": "script",
"inline": "console.log('Hello, AMIS!');"
}
]
}
但执行后
image

from owl-admin.

slowlyo avatar slowlyo commented on June 12, 2024

没看到有这样的文档

from owl-admin.

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.