mao 1 jaar geleden
bovenliggende
commit
c971aad64f
2 gewijzigde bestanden met toevoegingen van 2 en 0 verwijderingen
  1. 1 0
      components/dialog-selectProduction/dialog-selectProduction.vue
  2. 1 0
      pages/equipmentList/index.vue

+ 1 - 0
components/dialog-selectProduction/dialog-selectProduction.vue

@@ -101,6 +101,7 @@
 	 * 处理响应结果
 	 */
 	function changeResultStructure(data){
+		console.log(data)
 		// 用于存放处理后的结果
 		const result = {};
 		// 遍历原始数组的每个对象

+ 1 - 0
pages/equipmentList/index.vue

@@ -60,6 +60,7 @@
 	 * 页面初始化
 	 */
 	function init() {
+		equipmentList.value = [];
 		getUserequipmentList({
 			userId: store.userInfo.userId
 		}).then(res => {