Coder Social home page Coder Social logo

Comments (11)

onestar1 avatar onestar1 commented on May 30, 2024 1

EasyOC.RDBMS 中 CreateOrEdit.cshtml 里面的 路由地址 跟后台admin控制器的名称不对应。
或者说 是要访问 RDBMSAppService的接口。 但是 CreateOrEdit 里面的接口 跟RDBMSAppService的不对应。 结果也不一致
image
image

from easyoc.

hyzx86 avatar hyzx86 commented on May 30, 2024

是的,谢谢,这个已经在内部版本中更新,稍后在这里也更新下
表别名 你是在哪里用的?

from easyoc.

onestar1 avatar onestar1 commented on May 30, 2024

别表名已经解决, 是安装主题之后,使用 swagger 测试,出现问题。
image

from easyoc.

hyzx86 avatar hyzx86 commented on May 30, 2024

@Href() 将会自动追加 租户前缀 可以检查 浏览器控制台

from easyoc.

hyzx86 avatar hyzx86 commented on May 30, 2024

确实。。这里拼错了

from easyoc.

onestar1 avatar onestar1 commented on May 30, 2024

/api/Users/GetAll 调用这个接口 会提示 表不存在 。 是否要手动 创建 表

image

{
"message": "Table 'easysuper.userprofile_dindex' doesn't exist",
"statusCode": 500
}

from easyoc.

hyzx86 avatar hyzx86 commented on May 30, 2024

~~ 这里已经重构了 晚点我整理下代码 发布下

from easyoc.

onestar1 avatar onestar1 commented on May 30, 2024

确实。。这里拼错了

要是这样的话 调用 获取返回的参数 要用data.data 而不是 data.result了
loadConnections() { $.get("@Href("~/api/RDBMS/GetAllDbConnection")",{ __RequestVerificationToken: $("input[name='__RequestVerificationToken']").val()}, (data) => { this.allDbConnecton = data.result; }) },

this.allDbConnecton = data.data

loadAllTables 也一样。
默认的filterText 会跟connectionConfigId 一样 造成 数据表加载是空的。
loadAllTables(filterText) { if (this.model.connectionConfigId) { this.tableFilter.connectionConfigId = this.model.connectionConfigId; console.log('filterText', filterText); this.tableFilter.filterText = filterText; this.loading = true; $.get("@Href("~/api/RDBMS/GetAllTables")", this.tableFilter, (data, status) => { if (status != "success") { console.log(status) this.$message("查询失败") } else { this.allTables = data.result; } this.loading = false; }) } else { this.allTables = [] } },
image

from easyoc.

onestar1 avatar onestar1 commented on May 30, 2024

~~ 这里已经重构了 晚点我整理下代码 发布下

非常感谢 大佬的这个项目, 比oc本身的有很大的优化 还有实用性。 性能也非常好。
就是前端那个项目 本地无法运行。 不清楚什么原因。 是否已经放弃那个项目https://github.com/EasyOC/EasyOC.VbenAdmin

from easyoc.

hyzx86 avatar hyzx86 commented on May 30, 2024

目前这个版本 用的早期版本的 Natasha 做动态编译。所以内存会占用很高。。

from easyoc.

onestar1 avatar onestar1 commented on May 30, 2024

目前这个版本 用的早期版本的 Natasha 做动态编译。所以内存会占用很高。。
哦哦。 可以直接更新 natasha 版本就可以解决吗?

from easyoc.

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.