|
@@ -188,7 +188,7 @@ export default class UiClient extends Vue {
|
|
userName: null,
|
|
userName: null,
|
|
cancelRequest: null,
|
|
cancelRequest: null,
|
|
}
|
|
}
|
|
- url = 'http://swopt.com:3011';
|
|
|
|
|
|
+ url = 'http://localhost:3111';
|
|
messages: Message[] = [];
|
|
messages: Message[] = [];
|
|
loading: boolean = false
|
|
loading: boolean = false
|
|
modal: boolean = false
|
|
modal: boolean = false
|
|
@@ -199,12 +199,7 @@ export default class UiClient extends Vue {
|
|
messages: [],
|
|
messages: [],
|
|
}
|
|
}
|
|
|
|
|
|
- dosomething = Trottle(() => {
|
|
|
|
- const zz = 'ssss';
|
|
|
|
- console.log('done ' + zz)
|
|
|
|
- },1000, { trailing: false })
|
|
|
|
-
|
|
|
|
- startLoading() {
|
|
|
|
|
|
+ startLoading() {
|
|
this.loading = true
|
|
this.loading = true
|
|
}
|
|
}
|
|
endLoading() {
|
|
endLoading() {
|
|
@@ -220,7 +215,6 @@ export default class UiClient extends Vue {
|
|
}
|
|
}
|
|
addMessage(text:string) {
|
|
addMessage(text:string) {
|
|
this.messages.unshift({ id: Symbol(),text })
|
|
this.messages.unshift({ id: Symbol(),text })
|
|
- // this.messages.push({ id: Symbol(), text })
|
|
|
|
}
|
|
}
|
|
|
|
|
|
async stopConnection() {
|
|
async stopConnection() {
|