Git Product home page Git Product logo

amis-admin's Issues

laravel8安装不上呢

Problem 1
- smallruraldog/amis-admin dev-master requires illuminate/support ~9 -> found illuminate/support[v9.0.0-beta.1, ..., 9.x-dev] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires smallruraldog/amis-admin * -> satisfiable by smallruraldog/amis-admin[dev-master].

安装时 settings_table 主键 slug 使用text类型 , mysql不支持

错误提示:

Syntax error or access violation: 1170 BLOB/TEXT column 'slug' used in key specification without a key length (SQL: alter table `admin_setting` add primary key `admin_setting_slug_primary`(`slug`))

错误代码:
vendor/smallruraldog/amis-admin/database/migrations/2022_05_19_081117_install_amis_admin.php 88行

            $table->text('slug')->primary();

我改为:

$table->string('slug', 250)->primary();

安装成功

src/Components/ModelBase 引用文件问题

大佬, 项目很不错 , 但是本地安装后,跑起来, 发现表单删除报错

看了源码 发现 src/Components/ModelBase.php 里目前引用的Illuminate\Contracts\Database\Query\Builder 手动更换成Illuminate\Database\Eloquent\Builder 后更新正常

这里是不是有点小问题哈?
image

image
image

combo组件怎么用

像input_array 和combo组件用不了呢,点击新增没反应
InputArray::make()
->items([
$form->item("", "文字")->useFormItem(),
])

文档何时再次更新?

作者的产品很赞,但是发现语雀上的文档,很多链接没有对应文档。比如使用技巧什么的。是不是没更新完全?

二次开发如何进行?

成功按照文档部署了,但没有找到入手进行二次开发的地方,amis 的优势在哪里用起来?

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.