diff --git a/src/common/util.js b/src/common/util.js index 47b904a..af8a178 100644 --- a/src/common/util.js +++ b/src/common/util.js @@ -57,7 +57,13 @@ export default { return null } - } + }, +}; +export function isEmpty(val) { + return ( + val === undefined || + val === null || + val === "undefined" || + val === "") } - diff --git a/src/view/choose-community.vue b/src/view/choose-community.vue index 4f0164b..0d9ed84 100644 --- a/src/view/choose-community.vue +++ b/src/view/choose-community.vue @@ -33,7 +33,7 @@
附近小区
-
+
{{item.housingEstateName}}
{{item.prefixAddress}}
@@ -42,7 +42,7 @@
-
+
没有更多了
@@ -52,7 +52,7 @@
diff --git a/src/view/order-check.vue b/src/view/order-check.vue index 0811bb2..33aecc3 100644 --- a/src/view/order-check.vue +++ b/src/view/order-check.vue @@ -1,707 +1,681 @@