Commit 465009ed by 陈超

T

parent 0e10e14e
......@@ -259,14 +259,12 @@
//Helper
getCity: function(id, call) {
let that = this
that.loading = true
$.ajax({
type:'POST',
url:"{:U('home/User/getAreaList')}",
data: { id: id },
dataType:'json',
success:function(res){
that.loading = false
if(res.status == 1) {
call && call(res.data)
}
......@@ -275,14 +273,12 @@
},
getArea: function(id, call) {
let that = this
that.loading = true
$.ajax({
type:'POST',
url:"{:U('home/User/getAreaList')}",
data:{ id: id },
dataType:'json',
success:function(res){
that.loading = false
if(res.status == 1) {
call && call(res.data)
}
......
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