mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-07-20 01:59:35 +08:00
调整device、network的接口位置
This commit is contained in:
parent
e097678c93
commit
9ade7095a9
@ -16,6 +16,6 @@ module.exports = {
|
|||||||
...browserManager,
|
...browserManager,
|
||||||
...cookie,
|
...cookie,
|
||||||
...screenshot,
|
...screenshot,
|
||||||
...device,
|
device,
|
||||||
...network,
|
network,
|
||||||
};
|
};
|
||||||
|
@ -626,14 +626,14 @@ export const browserCommands = {
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: "quickcomposer.browser.setRequestInterception",
|
value: "quickcomposer.browser.network.setRequestInterception",
|
||||||
label: "修改请求/响应",
|
label: "修改请求/响应",
|
||||||
icon: "network",
|
icon: "network",
|
||||||
isAsync: true,
|
isAsync: true,
|
||||||
isAsync: true,
|
isAsync: true,
|
||||||
subCommands: [
|
subCommands: [
|
||||||
{
|
{
|
||||||
value: "quickcomposer.browser.setRequestInterception",
|
value: "quickcomposer.browser.network.setRequestInterception",
|
||||||
label: "修改请求",
|
label: "修改请求",
|
||||||
icon: "upload",
|
icon: "upload",
|
||||||
config: [
|
config: [
|
||||||
@ -686,7 +686,7 @@ export const browserCommands = {
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: "quickcomposer.browser.setResponseInterception",
|
value: "quickcomposer.browser.network.setResponseInterception",
|
||||||
label: "修改响应",
|
label: "修改响应",
|
||||||
icon: "download",
|
icon: "download",
|
||||||
config: [
|
config: [
|
||||||
@ -741,21 +741,21 @@ export const browserCommands = {
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: "quickcomposer.browser.clearInterception",
|
value: "quickcomposer.browser.network.clearInterception",
|
||||||
label: "清除所有拦截规则",
|
label: "清除所有拦截规则",
|
||||||
icon: "clear",
|
icon: "clear",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: "quickcomposer.browser.setDevice",
|
value: "quickcomposer.browser.device.setDevice",
|
||||||
label: "设备模拟",
|
label: "设备模拟",
|
||||||
icon: "devices",
|
icon: "devices",
|
||||||
isAsync: true,
|
isAsync: true,
|
||||||
config: [tabConfig],
|
config: [tabConfig],
|
||||||
subCommands: [
|
subCommands: [
|
||||||
{
|
{
|
||||||
value: "quickcomposer.browser.setDevice",
|
value: "quickcomposer.browser.device.setDevice",
|
||||||
label: "使用预设设备",
|
label: "使用预设设备",
|
||||||
icon: "smartphone",
|
icon: "smartphone",
|
||||||
config: [
|
config: [
|
||||||
@ -775,7 +775,7 @@ export const browserCommands = {
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: "quickcomposer.browser.setCustomDevice",
|
value: "quickcomposer.browser.device.setCustomDevice",
|
||||||
label: "自定义设备",
|
label: "自定义设备",
|
||||||
icon: "build",
|
icon: "build",
|
||||||
config: [
|
config: [
|
||||||
@ -837,7 +837,7 @@ export const browserCommands = {
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: "quickcomposer.browser.clearDeviceEmulation",
|
value: "quickcomposer.browser.device.clearDeviceEmulation",
|
||||||
label: "清除设备模拟",
|
label: "清除设备模拟",
|
||||||
icon: "clear",
|
icon: "clear",
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user