Commit 47889879 by liulongfei

修改图片本地文件bug

parent d4f0c99a
......@@ -74,7 +74,7 @@ namespace VIZ.Package.Module
#region IShowMedia ---是否显示媒体资源库页签
private Visibility iShowMedia=Visibility.Visible;
private Visibility iShowMedia = Visibility.Visible;
/// <summary>
/// 是否隐藏媒体资源库页签
......@@ -91,9 +91,9 @@ namespace VIZ.Package.Module
private void IsHideMedieTab()
{
bool flag= ApplicationDomainEx.IniStorage.GetValue<LogConfig, bool>(p => p.ISSHOWMEDIATAB);
bool flag = ApplicationDomainEx.IniStorage.GetValue<LogConfig, bool>(p => p.ISSHOWMEDIATAB);
if(flag)
if (flag)
{
IShowMedia = Visibility.Visible;
}
......@@ -131,7 +131,7 @@ namespace VIZ.Package.Module
this.IsSendToPreview = false;
this.GHResourceEditPartModel.SelectedFileModel = null;
this.IsSendToPreview = true;
this.Path = ofd.FileName;
this.Path = ofd.FileName.Replace(@"\", @"\\");
}
#endregion
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment