vite-uni-dev-tool 0.0.32 → 0.0.33

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
@@ -198,6 +198,10 @@ optimizeDeps: {
198
198
 
199
199
  ## 更新日志
200
200
 
201
+ ### 0.0.32
202
+
203
+ - 兼容 android 事件冲突
204
+
201
205
  ### 0.0.31
202
206
 
203
207
  - 优化创建逻辑
package/dist/core.js CHANGED
@@ -3,7 +3,7 @@ import { DevEvent as u } from "./devEvent/index.js";
3
3
  import { DevIntercept as a } from "./devIntercept/index.js";
4
4
  import { DevConsole as v } from "./devConsole/index.js";
5
5
  import { EventBus as D } from "./devEventBus/index.js";
6
- const i = "0.0.32", l = "2025/12/24 14:00:22", g = {
6
+ const i = "0.0.32", l = "2025/12/24 14:30:16", g = {
7
7
  // log: console.log,
8
8
  // info: console.info,
9
9
  // warn: console.warn,
@@ -99,7 +99,6 @@ function onSendMessage(param: { type: string; data: Record<string, any> }) {
99
99
  }
100
100
 
101
101
  function onDevOptionSend(options: DevTool.DevToolOptions) {
102
- console.log('options: ', options);
103
102
  if (options) {
104
103
  buttonProps.buttonSize = options.buttonSize ?? 50;
105
104
  buttonProps.buttonText = options.buttonText ?? '🐜';
@@ -1,12 +1,13 @@
1
1
  <template>
2
- <view class="network-item" @click="emit('openDetail')">
2
+ <view class="network-item">
3
3
  <view class="network-url-row">
4
4
  <Tag mode="error" style="margin-right: 6px" v-if="network?.intercepted">
5
5
 
6
6
  </Tag>
7
7
  <Tag mode="info">{{ network.method }}</Tag>
8
8
 
9
- <view class="network-url" v-html="lastUrl"> </view>
9
+ <view class="network-url" v-html="lastUrl" @click="emit('openDetail')">
10
+ </view>
10
11
 
11
12
  <Tag mode="main" class="network-detail-icon" @click.stop="emit('resend')">
12
13
  重发
@@ -107,6 +108,7 @@ const tagMode = computed(() => {
107
108
  white-space: nowrap;
108
109
  overflow: hidden;
109
110
  text-overflow: ellipsis;
111
+ text-decoration: underline;
110
112
  }
111
113
  .network-detail-icon {
112
114
  margin-left: auto;
@@ -1,6 +1,6 @@
1
1
  <template>
2
- <view class="upload-item" @click="emit('openDetail', upload)">
3
- <view class="upload-url-row">
2
+ <view class="upload-item">
3
+ <view class="upload-url-row" @click="emit('openDetail', upload)">
4
4
  <Tag mode="info">POST</Tag>
5
5
  <view class="upload-url" v-html="upload.url" />
6
6
  </view>
@@ -76,12 +76,12 @@ const isUseDevSource = computed(() => {
76
76
  border-bottom: 1px solid var(--dev-tool-border-color);
77
77
  font-size: var(--dev-tool-base-font-size);
78
78
  }
79
- .upload-item .upload-url-row {
79
+ .upload-url-row {
80
80
  display: flex;
81
81
  align-items: center;
82
82
  word-break: break-all;
83
83
  }
84
- .websocket-item .websocket-url-row .websocket-url {
84
+ .websocket-url {
85
85
  margin-left: 4px;
86
86
  flex: 1;
87
87
  white-space: nowrap;
@@ -89,7 +89,7 @@ const isUseDevSource = computed(() => {
89
89
  text-overflow: ellipsis;
90
90
  }
91
91
 
92
- .upload-item .upload-url-row .upload-detail-icon {
92
+ .upload-detail-icon {
93
93
  flex-shrink: 0;
94
94
  margin-left: auto;
95
95
  }
@@ -99,11 +99,12 @@ const isUseDevSource = computed(() => {
99
99
  white-space: nowrap;
100
100
  overflow: hidden;
101
101
  text-overflow: ellipsis;
102
+ text-decoration: underline;
102
103
  }
103
- .upload-item .upload-url-row .upload-detail-active {
104
+ .upload-detail-active {
104
105
  transform: rotate(135deg);
105
106
  }
106
- .upload-item .upload-info {
107
+ .upload-info {
107
108
  display: flex;
108
109
  align-items: center;
109
110
  justify-content: space-between;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-uni-dev-tool",
3
- "version": "0.0.32",
3
+ "version": "0.0.33",
4
4
  "description": "vite-uni-dev-tool, debug, uni-app, 一处编写,到处调试",
5
5
  "keywords": [
6
6
  "vite",