diff --git a/src/components/autocomplete/index.vue b/src/components/autocomplete/index.vue index ef332a1..fd22263 100644 --- a/src/components/autocomplete/index.vue +++ b/src/components/autocomplete/index.vue @@ -59,6 +59,9 @@ export default { if (query !== "") { this.loading = true; let params = {}; + // if() { + + // } this.config.autocompleteKey ? (params[this.config.autocompleteKey] = query) : (params["queryTypeGet"] = query); diff --git a/src/components/generalDetails/index.vue b/src/components/generalDetails/index.vue index 817e08d..8d8a9d2 100644 --- a/src/components/generalDetails/index.vue +++ b/src/components/generalDetails/index.vue @@ -117,7 +117,7 @@ export default { init() { this.dataPage = this.mappingData.map( (mappingDataItem, mappingDataIndex) => { - let shineData = this.sourceData[mappingDataIndex]; + let shineData = this.sourceData[mappingDataIndex] || {}; return { title: mappingDataItem.carTitle, iconClass: mappingDataItem.iconClass || "iconjichuziliao", diff --git a/src/views/product/index.vue b/src/views/product/index.vue index 1d81ecb..640bc13 100644 --- a/src/views/product/index.vue +++ b/src/views/product/index.vue @@ -7,6 +7,19 @@ placeholder="产品名称" clearable > + + + +
- 新增炼厂账户 + 充值