mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #5257
This commit is contained in:
parent
23a21c2407
commit
bcb1b6eb8d
7 changed files with 14 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div :class="cx('root')" @click="onClick" v-bind="ptm('root')">
|
||||
<div :class="cx('root')" @click="onClick" v-bind="ptmi('root')">
|
||||
<div v-if="welcomeMessage" v-bind="ptm('welcomeMessage')">{{ welcomeMessage }}</div>
|
||||
<div :class="cx('content')" v-bind="ptm('content')">
|
||||
<div v-for="(command, i) of commands" :key="command.text + i.toString()" v-bind="ptm('commands')">
|
||||
|
@ -22,6 +22,7 @@ import BaseTerminal from './BaseTerminal.vue';
|
|||
export default {
|
||||
name: 'Terminal',
|
||||
extends: BaseTerminal,
|
||||
inheritAttrs: false,
|
||||
data() {
|
||||
return {
|
||||
commandText: null,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue