|
@@ -469,7 +469,7 @@ const addressMixin = {
|
|
|
},
|
|
|
methods: {
|
|
|
getAddress() {
|
|
|
- options(2).then(res => {
|
|
|
+ options({type: 2}).then(res => {
|
|
|
if (res.code === 0) {
|
|
|
res.data.map(i => {
|
|
|
this.addressOptions.push({
|
|
@@ -490,12 +490,9 @@ const contentMixin = {
|
|
|
contentOptions: []
|
|
|
}
|
|
|
},
|
|
|
- mounted() {
|
|
|
- this.getContent()
|
|
|
- },
|
|
|
methods: {
|
|
|
- getContent() {
|
|
|
- options(1).then(res => {
|
|
|
+ getContent(data) {
|
|
|
+ options(data).then(res => {
|
|
|
if (res.code === 0) {
|
|
|
res.data.map(i => {
|
|
|
this.contentOptions.push({
|