修改导航图标不可拖拽

This commit is contained in:
miao 2022-12-02 14:40:45 +08:00
parent b682d7a4e6
commit 4aa7784ec5
3 changed files with 914 additions and 913 deletions

View File

@ -2,6 +2,7 @@
<q-dialog <q-dialog
persistent persistent
v-model="show_dialog" v-model="show_dialog"
@dragstart.prevent
@before-hide="resetData" @before-hide="resetData"
@keydown=" @keydown="
(evt) => { (evt) => {

View File

@ -1,6 +1,6 @@
<template> <template>
<div> <div>
<q-toolbar style="background-color: #3e9acd" class="shadow-2 text-white"> <q-toolbar style="background-color: #3e9acd" class="shadow-2 text-white" @dragstart.prevent>
<q-btn-dropdown <q-btn-dropdown
v-if="false" v-if="false"
v-touch-hold:10000.mouse="handleHold" v-touch-hold:10000.mouse="handleHold"
@ -288,7 +288,7 @@
:label="$t('other setting')" :label="$t('other setting')"
class="q-mr-sm" class="q-mr-sm"
> >
<q-list style="background-color: #3e9acd" class="shadow-2 text-white"> <q-list style="background-color: #3e9acd" class="shadow-2 text-white" @dragstart.prevent>
<q-item <q-item
clickable clickable
:disable="!$store.state.power_state" :disable="!$store.state.power_state"

View File

@ -1,6 +1,6 @@
<template> <template>
<div> <div>
<q-toolbar style="background-color: #3e9acd" class="shadow-2 text-white"> <q-toolbar style="background-color: #3e9acd" class="shadow-2 text-white" @dragstart.prevent>
<q-btn-dropdown <q-btn-dropdown
stretch stretch
no-caps no-caps
@ -194,7 +194,7 @@
:label="$t('other setting')" :label="$t('other setting')"
class="q-mr-sm" class="q-mr-sm"
> >
<q-list style="background-color: #3e9acd" class="shadow-2 text-white"> <q-list style="background-color: #3e9acd" class="shadow-2 text-white" @dragstart.prevent>
<q-item <q-item
clickable clickable
v-close-popup v-close-popup