matrix_components 2.0.336 → 2.0.338
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -485,8 +485,10 @@ const encrypArrs = getEncryptSm2(publicKey, ["xxx", "yyy"], isAdd04=false, ciphe
|
|
|
485
485
|
// 1. main.ts中引入, 并指定app.config.globalProperties.$BaseUrl全局请求地址
|
|
486
486
|
import NsComponents from 'matrix_components'
|
|
487
487
|
|
|
488
|
-
// 请求地址的baseUrl
|
|
488
|
+
// 请求地址的baseUrl,建议在app.use(NsComponents)之前设置
|
|
489
489
|
app.config.globalProperties.$BaseUrl = 'http://请求ip:端口/'
|
|
490
|
+
// 图片、文件请求地址的ImageBaseUrl,建议在app.use(NsComponents)之前设置
|
|
491
|
+
app.config.globalProperties.$ImageBaseUrl = 'http://请求ip:端口/'
|
|
490
492
|
app.use(NsComponents)
|
|
491
493
|
|
|
492
494
|
// 【可选】401无权显示回调
|