|
@@ -51,6 +51,23 @@ const musicPackageMixin = {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+import { goodsList } from '@/api/service/musicPackage'
|
|
|
|
+const goodsMixin = {
|
|
|
|
+ data() {
|
|
|
|
+ return {
|
|
|
|
+ // 流量套餐
|
|
|
|
+ goodsOptions: []
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ mounted() {
|
|
|
|
+ goodsList().then(res => {
|
|
|
|
+ if (res.code === 0) {
|
|
|
|
+ this.goodsOptions = res.data
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ },
|
|
|
|
+}
|
|
|
|
+
|
|
import {
|
|
import {
|
|
list,
|
|
list,
|
|
remove,
|
|
remove,
|
|
@@ -228,5 +245,6 @@ export {
|
|
flowPackageMixin,
|
|
flowPackageMixin,
|
|
musicPackageMixin,
|
|
musicPackageMixin,
|
|
indexMixin,
|
|
indexMixin,
|
|
- detailMixin
|
|
|
|
|
|
+ detailMixin,
|
|
|
|
+ goodsMixin
|
|
}
|
|
}
|