升级至2.8.1最新版后,Saber有错误

Blade 未结 1 755
Jalena
Jalena 剑圣 2021-06-07 10:44

一、该问题的重现步骤是什么?

1. 在升级Saber到最新版后,打开CRUD的明细界面时,出现以下错误

image.png


二、你期待的结果是什么?实际看到的又是什么?


三、你正在使用的是什么产品,什么版本?在什么操作系统上?

Saber最新的代码仓库版本

四、请提供详细的错误堆栈信息,这很重要。

 TypeError: Cannot read property 'id' of null
    at $o (http://localhost:1888/cdn/element-ui/2.15.1/index.js:1:382012)
    at e.getNode (http://localhost:1888/cdn/element-ui/2.15.1/index.js:1:390049)
    at a.getNode (http://localhost:1888/cdn/element-ui/2.15.1/index.js:1:403196)
    at a.<anonymous> (http://localhost:1888/cdn/avue/2.8.12/avue.min.js:9:141803)
    at Array.<anonymous> (http://localhost:1888/cdn/vue/2.6.10/vue.min.js:6:12466)
    at qe (http://localhost:1888/cdn/vue/2.6.10/vue.min.js:6:11867)

五、若有更多详细信息,请在下面提供。

列的申明如下,若将其改为select则正常,同时尝试将其替换为2.8.1版本的avue.min.js也不会触发该错误.

{
  label: "旧方案",
  prop: "oldSchemes",
  type: "tree",
  hide: true,
  dicUrl: "/api/blade-business/sharingschemes/select",
  props: {
    label: "projectName",
    value: "id"
  }
},


1条回答
  • 2021-06-07 21:43

    这个估计得给avue发issue了,或者参考saber的写法,不用远程绑定

    image.png

    image.png

    0 讨论(0)
提交回复