wui-components-v2 1.1.96 → 1.1.98

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.
@@ -2,8 +2,8 @@
2
2
  <wd-button size="small" @click="handleCopy">{{ '复制' }}</wd-button>
3
3
  </template>
4
4
  <script setup lang="ts">
5
- import { editPageConfig, copyDataApi } from '@/core-components/api/page'
6
- import { generateHighResolutionID } from '@/core-components/utils'
5
+ import { editPageConfig, copyDataApi } from '../../api/page'
6
+ import { generateHighResolutionID } from '../../utils'
7
7
 
8
8
  const props = defineProps<{
9
9
  copyMode?: string
@@ -46,6 +46,7 @@ function handleSubmit() {
46
46
  if (res.token) {
47
47
  // 保存token
48
48
  uni.setStorageSync('TOKEN', res.token)
49
+ uni.setStorageSync('token', res.token)
49
50
  // 获取用户配置
50
51
  const res1 = await getUserConfig()
51
52
  if (res1.status === 'success') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wui-components-v2",
3
- "version": "1.1.96",
3
+ "version": "1.1.98",
4
4
  "description": "wui 组件库",
5
5
  "author": "wgxshh",
6
6
  "license": "MIT",