Commit 3b2e6383 by qlintonger xeno

录制完毕初步+51

parent 9e83840f
...@@ -140,10 +140,7 @@ const getInitiatorInfo = (id) => { ...@@ -140,10 +140,7 @@ const getInitiatorInfo = (id) => {
//预览文件 //预览文件
const previewRef = ref() const previewRef = ref()
function convertURL(string: string) { function convertURL(string: string) {
return string.replace( return string.replace(/^http:\/\/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}:\d{1,5}/, "https://ifar.test.com:440");
string.substring(0, string.indexOf('/upload')),
location.origin
)
} }
const handlePreview = (file: any) => { const handlePreview = (file: any) => {
const content = JSON.parse(file.content) const content = JSON.parse(file.content)
......
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