From 3cb42d7be142d986e63f9ed2400920ac71eff2d8 Mon Sep 17 00:00:00 2001
From: Apcallover <1503963513@qq.com>
Date: Sun, 21 Apr 2024 16:38:25 +0800
Subject: [PATCH] =?UTF-8?q?flat:=20=20=E5=90=88=E5=B9=B6=EF=BC=8C=20?=
=?UTF-8?q?=E6=8A=A5=E9=94=99=E4=BF=AE=E5=A4=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
common/dic.js | 2 +-
pages/projectInfo/projectInfo.vue | 3 +-
.../uview-ui/components/u-icon/u-icon.vue | 450 +++++++++---------
vue.config.js | 2 +-
4 files changed, 219 insertions(+), 238 deletions(-)
diff --git a/common/dic.js b/common/dic.js
index a62bbdc..389587f 100644
--- a/common/dic.js
+++ b/common/dic.js
@@ -372,7 +372,7 @@ const addressColumn = [
},
{
value: '185',
- label: "绵竹市"
+ label: "广汉市"
},
{
value: '143',
diff --git a/pages/projectInfo/projectInfo.vue b/pages/projectInfo/projectInfo.vue
index bc65067..df4eb3f 100644
--- a/pages/projectInfo/projectInfo.vue
+++ b/pages/projectInfo/projectInfo.vue
@@ -414,8 +414,7 @@
}
},
cityNamed() {
- console.log('val', this.info, this.area.dic)
- if (this.info && this.info.cityId !== -1 && this.area.dic) {
+ if (this.info && typeof this.info.cityId !== 'undefined' && this.info.cityId !== -1 && this.area.dic) {
return this.area.dic[this.info.cityId].label
} else {
return '无'
diff --git a/uni_modules/uview-ui/components/u-icon/u-icon.vue b/uni_modules/uview-ui/components/u-icon/u-icon.vue
index 9340328..d70f584 100644
--- a/uni_modules/uview-ui/components/u-icon/u-icon.vue
+++ b/uni_modules/uview-ui/components/u-icon/u-icon.vue
@@ -1,234 +1,216 @@
-
-
-
- {{icon}}
-
- {{ label }}
-
-
-
-
-
-
+
+
+
+ {{icon}}
+
+ {{ label }}
+
+
+
+
+
+
\ No newline at end of file
diff --git a/vue.config.js b/vue.config.js
index a412b25..5771477 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -3,7 +3,7 @@ module.exports = {
port: 1887,
proxy: {
'/api': {
- target: 'http://192.168.1.106:8000',
+ target: 'http://10.165.0.173:8000',
ws: true,
pathRewrite: {
'^/api': '/'