|
@@ -8,6 +8,7 @@ import { FitAddon } from 'xterm-addon-fit';
|
|
//
|
|
//
|
|
const config = ref({
|
|
const config = ref({
|
|
url: 'wss://test-socket.4dkankan.com',
|
|
url: 'wss://test-socket.4dkankan.com',
|
|
|
|
+ path: '/new-zfb',
|
|
count: 200,
|
|
count: 200,
|
|
userStartId: '6666666',
|
|
userStartId: '6666666',
|
|
testSceneNum: 't-test',
|
|
testSceneNum: 't-test',
|
|
@@ -47,6 +48,7 @@ function start() {
|
|
config.value.isStart = true;
|
|
config.value.isStart = true;
|
|
ipc.send('start-Benmark-test', {
|
|
ipc.send('start-Benmark-test', {
|
|
url: config.value.url,
|
|
url: config.value.url,
|
|
|
|
+ path: config.value.path,
|
|
count: config.value.count,
|
|
count: config.value.count,
|
|
userStartId: config.value.userStartId,
|
|
userStartId: config.value.userStartId,
|
|
testSceneNum: config.value.testSceneNum,
|
|
testSceneNum: config.value.testSceneNum,
|
|
@@ -77,6 +79,9 @@ function stop() {
|
|
<span class="label">socket地址URL:</span> <input v-model="config.url">
|
|
<span class="label">socket地址URL:</span> <input v-model="config.url">
|
|
</figure>
|
|
</figure>
|
|
<figure>
|
|
<figure>
|
|
|
|
+ <span class="label">socket路径:</span> <input v-model="config.path">
|
|
|
|
+ </figure>
|
|
|
|
+ <figure>
|
|
<span class="label">测试人数:</span> <input v-model="config.count">
|
|
<span class="label">测试人数:</span> <input v-model="config.count">
|
|
</figure>
|
|
</figure>
|
|
<figure>
|
|
<figure>
|
|
@@ -139,10 +144,10 @@ function stop() {
|
|
-moz-osx-font-smoothing: grayscale;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
text-align: center;
|
|
text-align: center;
|
|
color: #2c3e50;
|
|
color: #2c3e50;
|
|
- margin: 60px auto;
|
|
|
|
|
|
+ margin: 30px auto;
|
|
max-width: 700px;
|
|
max-width: 700px;
|
|
}
|
|
}
|
|
-#app h2{
|
|
|
|
|
|
+#app h2 {
|
|
margin-top: 0;
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
fieldset {
|
|
fieldset {
|