[update 标准解读] 取最新的解读信息
This commit is contained in:
@@ -289,7 +289,7 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
const list = res.result || []
|
const list = res.result || []
|
||||||
// 后端说id是随时间递增的,取最新数据也就是取id最大的数据
|
// 后端说id是随时间递增的,取最新数据也就是取id最大的数据
|
||||||
this.standardInterpret = list.sort((a, b) => b - a)[0] || {}
|
this.standardInterpret = list.sort((a, b) => b.id - a.id)[0] || {}
|
||||||
this.selectedTreeKeys = []
|
this.selectedTreeKeys = []
|
||||||
this.hightMenuId = null
|
this.hightMenuId = null
|
||||||
this.clauseLabelInfo = this.standardInterpret
|
this.clauseLabelInfo = this.standardInterpret
|
||||||
|
|||||||
Reference in New Issue
Block a user