qifengquan 1 年之前
父節點
當前提交
22b4f54e4b

+ 4 - 2
public/dist/doc.html

@@ -16,8 +16,10 @@
 				id: getUrlParams('id') || 20
 			},
 			success: (res) => {
-				if (res.data)
-					$("#app").html(res.data)
+				if (res.data) {
+					const regex = new RegExp('<a', 'gi')
+					$("#app").html(res.data.replace(regex, `<a target="_blank"`))
+				}
 			}
 		})
 

+ 1 - 1
public/dist/index.html

@@ -17,7 +17,7 @@
 			/* 火狐 */
 			input {
 			  -moz-appearance: textfield;
-			}</style><link href=static/css/about.d3762beb.css rel=prefetch><link href=static/js/about.95d0c8a4.js rel=prefetch><link href=static/css/app.e03ddc17.css rel=preload as=style><link href=static/css/chunk-vendors.a779fe56.css rel=preload as=style><link href=static/js/app.e6605060.js rel=preload as=script><link href=static/js/chunk-vendors.22c13cbc.js rel=preload as=script><link href=static/css/chunk-vendors.a779fe56.css rel=stylesheet><link href=static/css/app.e03ddc17.css rel=stylesheet></head><script src=https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js></script><script src=./js/html2canvas.js></script><script src=./js/wow.min.js></script><body><noscript><strong>We're sorry but default doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=static/js/chunk-vendors.22c13cbc.js></script><script src=static/js/app.e6605060.js></script></body><script>var ScreenResize = {
+			}</style><link href=static/css/about.5b1a0b16.css rel=prefetch><link href=static/js/about.dd44a8bd.js rel=prefetch><link href=static/css/app.e03ddc17.css rel=preload as=style><link href=static/css/chunk-vendors.a779fe56.css rel=preload as=style><link href=static/js/app.1b4fe1ff.js rel=preload as=script><link href=static/js/chunk-vendors.22c13cbc.js rel=preload as=script><link href=static/css/chunk-vendors.a779fe56.css rel=stylesheet><link href=static/css/app.e03ddc17.css rel=stylesheet></head><script src=https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js></script><script src=./js/html2canvas.js></script><script src=./js/wow.min.js></script><body><noscript><strong>We're sorry but default doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=static/js/chunk-vendors.22c13cbc.js></script><script src=static/js/app.1b4fe1ff.js></script></body><script>var ScreenResize = {
 			designWidth: 1920,
 			designHeight: 1080,
 			minHeight: 768,

File diff suppressed because it is too large
+ 0 - 0
public/dist/static/css/about.5b1a0b16.css


File diff suppressed because it is too large
+ 0 - 0
public/dist/static/js/about.dd44a8bd.js


File diff suppressed because it is too large
+ 0 - 0
public/dist/static/js/app.1b4fe1ff.js


Some files were not shown because too many files changed in this diff