Use v-slot instead of slot
This commit is contained in:
parent
ba1492f977
commit
54d40420ad
96 changed files with 291 additions and 283 deletions
|
|
@ -1,8 +1,8 @@
|
|||
<template>
|
||||
<div class="mk-activity">
|
||||
<ui-container :show-header="design == 0" :naked="design == 2">
|
||||
<template slot="header"><fa icon="chart-bar"/>{{ $t('title') }}</template>
|
||||
<button slot="func" :title="$t('toggle')" @click="toggle"><fa icon="sort"/></button>
|
||||
<template v-slot:header><fa icon="chart-bar"/>{{ $t('title') }}</template>
|
||||
<template v-slot:func><button :title="$t('toggle')" @click="toggle"><fa icon="sort"/></button></template>
|
||||
|
||||
<p :class="$style.fetching" v-if="fetching"><fa icon="spinner" pulse fixed-width/>{{ $t('@.loading') }}<mk-ellipsis/></p>
|
||||
<template v-else>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue