| | |
| | | "quickapp" : {}, |
| | | /* 快应用特有相关 */ |
| | | "mp-weixin" : { |
| | | "appid" : "wx1441324401626290", |
| | | "appid" : "wx3203fd935a6ffe09", |
| | | "setting" : { |
| | | "urlCheck" : false, |
| | | "es6" : true, |
| | |
| | | await this.$store.dispatch('sign_clear', 'flower');
|
| | | this.getList()
|
| | | },
|
| | | onReachBottom() { |
| | | onReachBottom() {
|
| | | console.log('onReachBottom')
|
| | | this.getMore()
|
| | | },
|
| | |
| | | id: item.id
|
| | | }
|
| | | }).then(res => {
|
| | | this.$message.hideLoading()
|
| | | if (res.code == 0) {
|
| | | this.$message.showToast('操作成功')
|
| | | item.status = (status == 'off' ? 'OFF' : 'UP')
|
| | | item.statusStr = (status == 'off' ? '下架' : '上架')
|
| | | }
|
| | | }).finally(() => {
|
| | | }).catch(e => {
|
| | | this.$message.hideLoading()
|
| | | })
|
| | | }).finally(() => {})
|
| | | },
|
| | | async buttonDelete(item) {
|
| | | await this.$message.confirm('确定删除此商品吗')
|