Commit e852354d by 冷斌

fix bug

parent 2d58be82
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<div class="header"> <div class="header">
<div class="zhanghu">账户ID</div> <div class="zhanghu">账户ID</div>
<div class="inputBox"> <div class="inputBox">
<input v-model="userId" type="number" class="input_id" placeholder="请输入ID" /> <input v-model="userId" type="number" @blur="userinfo" class="input_id" placeholder="请输入ID" />
</div> </div>
<div class="zuanNum">剩余钻石:{{zuanNum}}</div> <div class="zuanNum">剩余钻石:{{zuanNum}}</div>
<!-- 用户头像 --> <!-- 用户头像 -->
...@@ -70,6 +70,9 @@ ...@@ -70,6 +70,9 @@
sel_money(index){ sel_money(index){
this.sel_num = index this.sel_num = index
}, },
userinfo() {
console.log(this.userId);
},
wx() { wx() {
let _this = this; let _this = this;
$.ajax({ $.ajax({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment