byt-ui 0.0.17 → 0.0.18

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "byt-ui",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "private": false,
5
5
  "description": "byt组件库",
6
6
  "author": {
@@ -2,7 +2,7 @@
2
2
  * @Description:
3
3
  * @Author: 王国火
4
4
  * @Date: 2022-10-18 12:37:03
5
- * @LastEditTime: 2022-11-16 20:11:01
5
+ * @LastEditTime: 2023-07-11 14:28:17
6
6
  * @LastEditors: 王国火
7
7
  */
8
8
  import Cookie from 'js-cookie'
@@ -29,5 +29,9 @@ export const setCookie = (key, value, expires = 7, path = '/') => {
29
29
  }
30
30
 
31
31
  export const removeCookie = (key, path = '/') => {
32
- return Cookie.remove(`${website.key}-${key}`, { path })
32
+ console.log(`${website.key}-${key}`)
33
+ return Cookie.remove(`${website.key}-${key}`, {
34
+ path,
35
+ domain:window.location.hostname
36
+ })
33
37
  }
@@ -2,7 +2,7 @@
2
2
  * @Description:
3
3
  * @Author: 王国火
4
4
  * @Date: 2022-07-12 17:47:20
5
- * @LastEditTime: 2023-06-07 08:31:20
5
+ * @LastEditTime: 2023-07-11 14:29:31
6
6
  * @LastEditors: 王国火
7
7
  -->
8
8
 
@@ -59,7 +59,7 @@
59
59
  <vxe-column
60
60
  :fixed="column.fixed"
61
61
  v-else-if="column.slot"
62
- :width="column.width||'auto'"
62
+ :width="column.width"
63
63
  :title="column.label"
64
64
  :align="column.align||'center'"
65
65
  :key="index"
@@ -86,7 +86,7 @@
86
86
  :type="column.type"
87
87
  v-else
88
88
  :field="column.key"
89
- :width="column.width||'auto'"
89
+ :width="column.width"
90
90
  :title="column.label"
91
91
  :align="column.align||'center'"
92
92
  :key="index"