优化页面
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
@blur="inputName"
|
||||
/>
|
||||
<button class="weui-btn" @click="wxLogin">修改</button>
|
||||
<button class="weui-btn" @click="cancel">取消</button>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -46,6 +47,11 @@ export default {
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
cancel() {
|
||||
uni.navigateBack({
|
||||
delta: 1,
|
||||
});
|
||||
},
|
||||
// 输入昵称
|
||||
inputName(e) {
|
||||
this.name = e.detail.value;
|
||||
|
||||
Reference in New Issue
Block a user