qlfy-ecological-login 1.1.4 → 1.1.6
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 +9 -7
- package/lib/index.mjs +388 -388
- package/lib/index.mjs.gz +0 -0
- package/lib/index.umd.js +7 -7
- package/lib/index.umd.js.gz +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -46,8 +46,8 @@ app.mount('#app')
|
|
|
46
46
|
<qlfy-ecological-login
|
|
47
47
|
:client-id="clientId"
|
|
48
48
|
:client-secret="clientSecret"
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
login-page-base-address="https://sdocen.weathermate.cn:15029/auth"
|
|
50
|
+
login-service-base-address="http://10.76.34.53:48080"
|
|
51
51
|
:use-router="router"
|
|
52
52
|
@login-success="handleLoginSuccess"
|
|
53
53
|
@login-fail="handleLoginFail"
|
|
@@ -67,8 +67,6 @@ const router = useRouter()
|
|
|
67
67
|
// 配置参数
|
|
68
68
|
const clientId = 'your-client-id'
|
|
69
69
|
const clientSecret = 'your-client-secret'
|
|
70
|
-
const loginPageUrl = 'https://login.example.com'
|
|
71
|
-
const loginServiceUrl = 'https://api.example.com'
|
|
72
70
|
|
|
73
71
|
// 事件处理
|
|
74
72
|
const handleLoginSuccess = (userInfo) => {
|
|
@@ -379,7 +377,7 @@ changePassword('newPassword', 'oldPassword')
|
|
|
379
377
|
client-id="your-app-id"
|
|
380
378
|
client-secret="your-app-secret"
|
|
381
379
|
:login-page-base-address="https://sdocen.weathermate.cn:15029/auth"
|
|
382
|
-
:login-service-base-address="http://
|
|
380
|
+
:login-service-base-address="http://10.76.34.53:48080"
|
|
383
381
|
:use-router="router"
|
|
384
382
|
/>
|
|
385
383
|
```
|
|
@@ -390,8 +388,8 @@ changePassword('newPassword', 'oldPassword')
|
|
|
390
388
|
<qlfy-ecological-login
|
|
391
389
|
client-id="your-app-id"
|
|
392
390
|
client-secret="your-app-secret"
|
|
393
|
-
|
|
394
|
-
|
|
391
|
+
login-page-base-address="https://sdocen.weathermate.cn:15029/auth"
|
|
392
|
+
login-service-base-address="http://10.76.34.53:48080"
|
|
395
393
|
:use-router="router"
|
|
396
394
|
:is-enabled="true"
|
|
397
395
|
:force-mode="true"
|
|
@@ -452,6 +450,10 @@ interface Emits {
|
|
|
452
450
|
- 修复token验证问题
|
|
453
451
|
- 改进错误处理机制
|
|
454
452
|
|
|
453
|
+
### v1.1.6
|
|
454
|
+
|
|
455
|
+
- 文档部分描述及配置问题修改
|
|
456
|
+
|
|
455
457
|
## 许可证
|
|
456
458
|
|
|
457
459
|
MIT License
|