with ui.card_actions().classes("w-full justify-end"): ui.button('创建用户', on_click=lambda : self.add_user(ui_uname.value,ui_pwd.value,ui_role.value)).props("flat") ui.button('取消',on_click=dialog.close).props("flat") dialog.open() def add_user(self,uname,pwd,role): if ...
@click="props.expand = !props.expand" :icon="props.expand ? 'remove' : 'add'" /> </q-td> <q-td v-for="col in props.cols" :key="col.name" :props="props"> {{ col.value }} </q-td> </q-tr> <q-tr v-show="props.expand" :props="props"> <q-td colspan="100%"> <...
<q-td auto-width> <q-btn size="sm" color="accent" round dense @click="props.expand = !props.expand" :icon="props.expand ? 'remove' : 'add'" /> </q-td> <q-td v-for="col in props.cols" :key="col.name" :props="props"> {{ col.value }} </q-td> </q-tr> <q-tr ...
It's hard to see on a white background but some have white borders. Click one and view it to get a better idea. The ones without an icon or with double greater thans (>>) were created with an online creator by yours truly. I made an attempt to try a Python script and overlay a...
@click="props.expand = !props.expand" :icon="props.expand ? 'remove' : 'add'" /> </q-td> <q-td v-for="col in props.cols" :key="col.name" :props="props"> {{ col.value }} </q-td> </q-tr> <q-tr v-show="props.expand" :props="props"> ...