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,11 +1,11 @@
<template>
<mk-ui>
<template v-slot:header>
<template #header>
<template v-if="folder"><span style="margin-right:4px;"><fa :icon="['far', 'folder-open']"/></span>{{ folder.name }}</template>
<template v-if="file"><mk-file-type-icon data-icon :type="file.type" style="margin-right:4px;"/>{{ file.name }}</template>
<template v-if="!folder && !file"><span style="margin-right:4px;"><fa icon="cloud"/></span>{{ $t('@.drive') }}</template>
</template>
<template v-slot:func><button @click="fn"><fa icon="ellipsis-h"/></button></template>
<template #func><button @click="fn"><fa icon="ellipsis-h"/></button></template>
<x-drive
ref="browser"
:init-folder="initFolder"