|
@@ -215,7 +215,7 @@
|
|
|
import { VSelect, Upload } from '@/components'
|
|
|
import Editor from '@/components/WEeditor'
|
|
|
import { productSave, productSnDetail } from '@/api/product'
|
|
|
-import { productTypeQuery } from '@/api/productType'
|
|
|
+import { productTypeQueryAll } from '@/api/productType'
|
|
|
import { productBrandQuery } from '@/api/productBrand'
|
|
|
export default {
|
|
|
components: { VSelect, Upload, Editor },
|
|
@@ -376,7 +376,7 @@ export default {
|
|
|
},
|
|
|
// 产品分类 列表
|
|
|
getProductType () {
|
|
|
- productTypeQuery({}).then(res => {
|
|
|
+ productTypeQueryAll({}).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
this.productTypeList = res.data
|
|
|
} else {
|