@xilonglab/vue-main 1.0.3 → 1.0.5

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.
@@ -1,5 +1,5 @@
1
1
  <script setup>
2
- import { Session } from '#/system'
2
+ import System from '#/system'
3
3
  import { useRouter } from "vue-router"
4
4
  import { inject, reactive, ref } from 'vue'
5
5
  import gsap from 'gsap'
@@ -62,7 +62,7 @@ async function login() {
62
62
  try {
63
63
  if (!await refs.form.value.validate()) return
64
64
  Cookie.set()
65
- const data = await Session.resource.post(form, '')
65
+ const data = await System.Session.resource.post(form, '')
66
66
 
67
67
  if (data.token) {
68
68
  await showSuccessAnimation()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xilonglab/vue-main",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "xilong vue main",
5
5
  "main": "packages/index.js",
6
6
  "scripts": {