Use # instead of v-slot:

This commit is contained in:
syuilo
2019-02-18 11:13:56 +09:00
parent da4ba51a74
commit 388565fb10
95 changed files with 219 additions and 219 deletions

View File

@ -1,8 +1,8 @@
<template>
<div class="mkw-posts-monitor">
<ui-container :show-header="props.design == 0" :naked="props.design == 2">
<template v-slot:header><fa icon="chart-line"/>{{ $t('title') }}</template>
<template v-slot:func><button @click="toggle" :title="$t('toggle')"><fa icon="sort"/></button></template>
<template #header><fa icon="chart-line"/>{{ $t('title') }}</template>
<template #func><button @click="toggle" :title="$t('toggle')"><fa icon="sort"/></button></template>
<div class="qpdmibaztplkylerhdbllwcokyrfxeyj" :class="{ dual: props.view == 0 }">
<svg :viewBox="`0 0 ${ viewBoxX } ${ viewBoxY }`" v-show="props.view != 2">