疑似bug->批量操作及:
复现过程:
1.schema[opendb-banner] 进行 schema2code to uni-admin(page模式或者moudle模式均已试过)
2.运行->内部浏览器(必须注意manifest.json 中Vue版本需配置为2,否则会导致方法 selectionChange(e) 失效,具体表现为this.selectedIndexs不能赋值,一直保持为[])
bug操作:
3.页面点击删除按钮,一直转等待图标.
- 页面选择多项,点击批量删除,一直转等待图标.
看大家有否遇到类似情况?或者有否解决方式?
后台报错记录
[system]TypeError: Cannot read property '0' of undefined
at VueComponent.mainCollection (http://localhost:8080/admin/static/js/pages-opendb-banner-list~pages-system-app-list~pages-system-menu-list~pages-system-permission-list~p~fedc02d9.js:267:27)
at Watcher.get (http://localhost:8080/admin/static/js/chunk-vendors.js:6088:25)
at Watcher.evaluate (http://localhost:8080/admin/static/js/chunk-vendors.js:6193:21)
at VueComponent.computedGetter [as mainCollection] (http://localhost:8080/admin/static/js/chunk-vendors.js:6443:17)
at VueComponent._execRemove (http://localhost:8080/admin/static/js/pages-opendb-banner-list~pages-system-app-list~pages-system-menu-list~pages-system-permission-list~p~fedc02d9.js:690:28)
at Function.success (http://localhost:8080/admin/static/js/pages-opendb-banner-list~pages-system-app-list~pages-system-menu-list~pages-system-permission-list~p~fedc02d9.js:483:18)
at http://localhost:8080/admin/static/js/chunk-vendors.js:14371:85306
at Object.j [as callback] (http://localhost:8080/admin/static/js/chunk-vendors.js:14371:88156)
at b (http://localhost:8080/admin/static/js/chunk-vendors.js:14371:88993)
at VueComponent.onModalCloseCallback (http://localhost:8080/admin/static/js/chunk-vendors.js:14371:205888)
石头ME (作者)
谢谢HDX大大。
刚才已经更新后测试,恢复正常。谢谢。
后续看能否增加一个插件版本回退的功能。针对闭源插件的bug,能解燃眉之急。
望采纳。
2022-01-06 11:59