fix: 解决firefox浏览器拖拽打开新标签页
This commit is contained in:
parent
3d54e2186d
commit
58db7bb284
|
@ -1,13 +1,23 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="shortcut icon" type="image/x-icon" href="./favicon.ico" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>MeterSphere</title>
|
||||
</head>
|
||||
<body>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<script type="module" src="/src/main.ts"></script>
|
||||
</body>
|
||||
<script>
|
||||
//解决 firefox 拖拽会自动打开新标签
|
||||
document.body.ondrop = function (event) {
|
||||
event.preventDefault()
|
||||
event.stopPropagation()
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -136,13 +136,13 @@
|
|||
const currentOrgId = computed(() => appStore.currentOrgId);
|
||||
const licenseStore = useLicenseStore();
|
||||
const moduleOption = [
|
||||
{ label: 'menu.workbench', value: 'workstation' },
|
||||
{ label: 'menu.testPlan', value: 'testPlan' },
|
||||
// { label: 'menu.workbench', value: 'workstation' },
|
||||
// { label: 'menu.testPlan', value: 'testPlan' },
|
||||
{ label: 'menu.bugManagement', value: 'bugManagement' },
|
||||
{ label: 'menu.caseManagement', value: 'caseManagement' },
|
||||
{ label: 'menu.apiTest', value: 'apiTest' },
|
||||
{ label: 'menu.uiTest', value: 'uiTest' },
|
||||
{ label: 'menu.performanceTest', value: 'loadTest' },
|
||||
// { label: 'menu.uiTest', value: 'uiTest' },
|
||||
// { label: 'menu.performanceTest', value: 'loadTest' },
|
||||
];
|
||||
|
||||
const emit = defineEmits<{
|
||||
|
|
|
@ -136,13 +136,13 @@
|
|||
const affiliatedOrgOption = ref<SystemOrgOption[]>([]);
|
||||
const licenseStore = useLicenseStore();
|
||||
const moduleOption = [
|
||||
{ label: 'menu.workbench', value: 'workstation' },
|
||||
{ label: 'menu.testPlan', value: 'testPlan' },
|
||||
// { label: 'menu.workbench', value: 'workstation' },
|
||||
// { label: 'menu.testPlan', value: 'testPlan' },
|
||||
{ label: 'menu.bugManagement', value: 'bugManagement' },
|
||||
{ label: 'menu.caseManagement', value: 'caseManagement' },
|
||||
{ label: 'menu.apiTest', value: 'apiTest' },
|
||||
{ label: 'menu.uiTest', value: 'uiTest' },
|
||||
{ label: 'menu.performanceTest', value: 'loadTest' },
|
||||
// { label: 'menu.uiTest', value: 'uiTest' },
|
||||
// { label: 'menu.performanceTest', value: 'loadTest' },
|
||||
];
|
||||
|
||||
const emit = defineEmits<{
|
||||
|
|
Loading…
Reference in New Issue