|
|
@@ -1,5 +1,4 @@
|
|
|
import { defineStore } from 'pinia';
|
|
|
-import { categoryTree } from '@/views/operation/components/product.api';
|
|
|
|
|
|
const businessType = defineStore('businessType', {
|
|
|
state: () => ({
|
|
|
@@ -7,8 +6,6 @@ const businessType = defineStore('businessType', {
|
|
|
}),
|
|
|
actions: {
|
|
|
async getBusinessTypeList() {
|
|
|
- const res = await categoryTree({ pcode: 'C09', async: false });
|
|
|
- this.businessTypeList = res || [];
|
|
|
},
|
|
|
},
|
|
|
});
|