260517
This commit is contained in:
+2
-2
@@ -66,12 +66,12 @@ export default {
|
||||
focus: 'ip'
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
onLoad() {
|
||||
this.getData();
|
||||
},
|
||||
methods: {
|
||||
getData() {
|
||||
let server = storage.get('server', '')
|
||||
let server = storage.get('config', '')
|
||||
if (server) {
|
||||
this.ip = server.ip;
|
||||
this.port = server.port;
|
||||
|
||||
@@ -187,6 +187,7 @@ export default {
|
||||
})
|
||||
this.getList()
|
||||
} catch (error) {
|
||||
console.log(error)
|
||||
uni.showToast({
|
||||
title: '保存失败',
|
||||
icon: 'none'
|
||||
|
||||
Reference in New Issue
Block a user