|
|
- <urban-filemanager>
- <div class="bucket-filemanager">
- <div>
- <div each={ file in props.files }>
- <urban-filemanager-file
- if={ file.is_file }
- file={ file }
- handleClick={ handleClick }
- handleMarked={ handleMarked }
- ></urban-filemanager-file>
- </div>
- </div>
- </div>
- <script>
-
- import axios from 'axios'
- import File from './file.riot'
-
- riot.register('urban-filemanager-file', File)
-
- export default {
- handleClick() {
- console.log('ddd')
- },
-
- handleMarked() {
- console.log('ddd')
- }
- }
-
- </script>
- </urban-filemanager>
|