添加注释

master
mabo 2021-05-27 18:03:33 +08:00
parent 0df88e08e4
commit e935d5bcd5
3 changed files with 9 additions and 10 deletions

View File

@ -57,7 +57,7 @@ import {
export default {
name: 'addressManage',
props: {
id: {
id: { // id
defalut: '',
type: String
}
@ -89,7 +89,7 @@ export default {
};
},
methods: {
save () {
save () { //
this.$refs.form.validate((valid) => {
if (valid) {
const params = JSON.parse(JSON.stringify(this.formData));
@ -138,15 +138,15 @@ export default {
this.formData.lat = item.position.lat;
this.formData.lon = item.position.lng;
},
show () {
show () { //
this.showAddr = true;
},
hide () {
hide () { //
this.showAddr = false;
}
},
watch: {
id: {
id: { // id
handler: function (v) {
if (v) {
this.getAddrById(v);

View File

@ -59,7 +59,6 @@ export default {
isActive: 0 // tab
};
},
mounted () {},
methods: {
//
callBack () {

View File

@ -44,7 +44,7 @@ export default {
};
},
methods: {
getList () {
getList () { //
this.loading = true
memberCouponList(this.params).then(res => {
this.loading = false
@ -67,18 +67,18 @@ export default {
}
},
changePageNum (val) {
changePageNum (val) { //
this.params.pageNumber = val;
this.getList()
},
changePageSize (val) {
changePageSize (val) { //
this.pageNumber = 1;
this.params.pageSize = val;
this.getList()
},
useScope (type, storeName) {
useScope (type, storeName) { //
let shop = '平台';
let goods = '全部商品'
if (storeName !== 'platform') shop = storeName