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