Commit 113dc1f724c4e791743fbcfe2f18897f0faaab19

Authored by ww
1 parent 7dc91fcf

fix: 修复预览模式下获取数据源包含不属于当前组态的数据源

@@ -12,8 +12,9 @@ class ConfigurationNodeApi { @@ -12,8 +12,9 @@ class ConfigurationNodeApi {
12 * @param {'CONFIGURE' | 'CONTENT' | 'NODE'} levelType - 组态资源类型 12 * @param {'CONFIGURE' | 'CONTENT' | 'NODE'} levelType - 组态资源类型
13 * @param {string} levelId - 组态资源ID 13 * @param {string} levelId - 组态资源ID
14 */ 14 */
15 - static getConfigurationInfo(levelType, levelId) {  
16 - return defHttp.get(`/yt/configuration/node/${levelType}/${levelId}`) 15 + static getConfigurationInfo( levelType, levelId) {
  16 + var configurationId = urlParams['configurationId']
  17 + return defHttp.get(`/yt/configuration/node/${configurationId}/${levelType}/${levelId}`)
17 } 18 }
18 19
19 /** 20 /**