jf 5 лет назад
Родитель
Сommit
cdd84d5f16

+ 2 - 2
ghsApp/src/components/module/app-commodity.vue

@@ -34,7 +34,7 @@
 import { COMMODITY_TYPE } from "@/utils/declare";
 import AppImg from "@/components/app-img";
 import { autoPriceByIdApi, changePriceByIdApi } from '@/api/product/index'
-import productMins from "@/mixins/productContrapose";
+// import productMins from "@/mixins/productContrapose";
 import animationMins from "@/mixins/animation";
 
 import allSelectInput from "@/components/module/allSelectInput";
@@ -44,7 +44,7 @@ export default {
 	components: {
 		AppImg,allSelectInput
 	},
-	mixins: [productMins,animationMins,allSelectInputMins],
+	mixins: [animationMins,allSelectInputMins],
 	props: {
 		info: {
 			required: true,

+ 1 - 1
ghsApp/src/mixins/productContrapose.js

@@ -131,7 +131,7 @@ export default {
 			try {
 				let params = {
 					py: this.py,
-					type: this.type
+					type: this.type?this.type:''
 				};
 				if (extendInfo) {
 					params = { ...params, ...extendInfo };