表:
<v-card :dark="true">
<v-card-title>
<v-btn color="indigo" dark @click="initialize"><v-icon dark>refresh</v-icon></v-btn>
<v-spacer></v-spacer>
<v-text-field append-icon="search" label="Search" single-line hide-details></v-text-field>
</v-card-title>
<v-data-table :dark="true" :headers="headers" :items="expenses" hide-actions class="elevation-1">
<template slot="headers" slot-scope="props">
<tr>
<th v-for="header in props.headers">{{header.text}}</th>
</tr>
</template>
<template slot="items" slot-scope="props">
<tr v-bind:class="getClass(props.item)">
<td class="text-xs-center">{{ props.item.year }}</td>
<td class="text-xs-center">{{ props.item.month }}</td>
<td class="text-xs-center">{{ props.item.day }}</td>
<td class="text-xs-center">{{ props.item.description }}</td>
<td class="text-xs-center">{{ props.item.value }}</td>
<td class="text-xs-center">{{ props.item.category }}</td>
<td class="text-xs-center">{{ props.item.details }}</td>
<td class="justify-center layout px-0">
<v-btn icon class="mx-0" @click="deleteItem(props.item)">
<v-icon color="pink">delete</v-icon>
</v-btn>
</td>
</tr>
</template>
<template …Run Code Online (Sandbox Code Playgroud) 我已经尝试了以下建议:
Tomcat在Idea中.战争爆炸:服务器没有连接.部署不可用
用line创建setenv.bat文件
设置JAVA_OPTS =%JAVA_OPTS%-XX:MaxPermSize = 512m -Xmx1024m
什么都没改变.
项目设置如下:
https://medium.com/@jamsesso/starting-out-with-jersey-apache-tomcat-using-intellij-6338d93ffd40
尝试使用URL:localhost/8080/TraffiCar/hello进行访问,返回404
没有其他应用程序使用端口,8080和1099
日志:
"C:\Program Files\Tomcat\apache-tomcat-8.0.23\bin\catalina.bat" run
[2015-07-03 02:13:31,724] Artifact TraffiCar:war exploded: Server is not connected. Deploy is not available.
Using CATALINA_BASE: "C:\Users\Aleister\.IntelliJIdea14\system\tomcat\Unnamed_TraffiCar"
Using CATALINA_HOME: "C:\Program Files\Tomcat\apache-tomcat-8.0.23"
Using CATALINA_TMPDIR: "C:\Program Files\Tomcat\apache-tomcat-8.0.23\temp"
Using JRE_HOME: "C:\Program Files\Java\jdk1.8.0_45"
Using CLASSPATH: "C:\Program Files\Tomcat\apache-tomcat-8.0.23\bin\bootstrap.jar;C:\Program Files\Tomcat\apache-tomcat-8.0.23\bin\tomcat-juli.jar"
03-Jul-2015 14:13:32.357 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.0.23
03-Jul-2015 14:13:32.357 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: May 19 2015 14:58:38 UTC
03-Jul-2015 14:13:32.358 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.0.23.0
03-Jul-2015 …Run Code Online (Sandbox Code Playgroud) 显然Vuetify有300px作为导航抽屉的默认宽度.
即使我将初始宽度更改为不同
<v-navigation-drawer id="add-expense-menu" ... style="width: 325px">
Run Code Online (Sandbox Code Playgroud)
用于隐藏抽屉的变换仍然是300px,因此它的一部分突出.
有没有办法更改此组件的默认宽度?