You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

17 lines
574 B

from dash import dcc, html
from flask import session
from config.global_config import DSUrlConfig
def render(*args, **kwargs):
src1=DSUrlConfig.DSUrl+'/data-quality/task-result?userName='+session.get('user_info').get('user_name')+"&password="+session.get('user_info').get('password'),
print("请求连接为")
print(src1)
return html.Div(
[
html.Iframe(
id='project-iframe',
src=src1,
style={'width': '100%', 'height': 'calc(100vh - 122px)', 'border': 'none'}
)
]
)