Browse Source

异常修复

mork 1 week ago
parent
commit
5865b43809
4 changed files with 26 additions and 12 deletions
  1. 24 11
      README.md
  2. 0 1
      src/components/AppVue/Header.vue
  3. 1 0
      src/views/HomePage.vue
  4. 1 0
      src/views/yygl/index.vue

+ 24 - 11
README.md

@@ -1,28 +1,34 @@
 # qp_onemap
 
 ## Project setup
-```
+
+```bash
 npm install
 ```
 
 ### Compiles and hot-reloads for development
-```
+
+```bash
 npm run serve
 ```
 
 ### Compiles and minifies for production
-```
+
+```bash
 npm run build
 ```
 
 ### Customize configuration
+
 See [Configuration Reference](https://cli.vuejs.org/config/).
 
 ## 路线
+
 vue + axios + element-plus + less
 
 ## 业务模块对应关系
-skszk   时空算子库 
+
+skszk   时空算子库
 skmh    时空门户
 wgn     微功能
 yygl    应用管理
@@ -30,6 +36,7 @@ xxfk    信息反馈
 yxgl    运行管理
 
 ## 业务模块说明
+
 src路径下的api、assets/images、components、views中都有以 模块名称首字母英文命名 的文件或文件夹
 
 注:example相关文件、文件夹、变量皆为示例用途
@@ -55,20 +62,25 @@ views为路由视图文件夹,已创建各模块的父级路由;
 若有 新增/删除 子路由 的情况,需同步在router中进行更新。
 
 ## 通用文件说明
+
 public/static中,config文件夹下config.js用于定义全局变量文件夹,各模块需要使用的全局变量需在config对应的各模块下定义,用以区分避免混淆;
 
 ## 地图开发
-参考 views/example/Map.vue 
+
+参考 views/example/Map.vue
 
 ## 其他
+
 系统默认登录,登录请求在App.vue中,登录后用户信息、token存放在localStorage中,可使用 localStorage.getItem("token")获取;
 
 接口在请求时无论当前接口是否需要token,在请求头中都会添加token,配置在src/utils/request.js中
 
 若开发过程中哪有不妥之处可以跟我沟通,若创建分支开发,模块开发完成后请合并到主分支中
 
-# 更新
-## 0.0.1
+## 更新
+
+### 0.0.1
+
 地图开发引擎插件包引入代码集成到App.vue中
 
 并在App.vue的mounted函数中注册一个全局函数loadScripts
@@ -79,13 +91,14 @@ config.js中更新各模块引入插件包的数据组织方式
 
 相应修改可见 src/views/example/Map.vue 示例
 
-# 更新
-## 0.0.2
+### 0.0.2
+
 移除 xxfk 文件夹
 
-### 业务模块对应关系
+#### 更新后的业务模块对应关系
+
 sksjgl  时空数据管理
 skmh    时空门户
 wgn     微功能
 yygl    应用管理
-yxgl    运行管理
+yxgl    运行管理

+ 0 - 1
src/components/AppVue/Header.vue

@@ -71,7 +71,6 @@ export default {
   }
 
   .menu {
-    display: inline-block;
     float: right;
     .menu_ul {
       li {

+ 1 - 0
src/views/HomePage.vue

@@ -2272,6 +2272,7 @@ export default {
         display: -webkit-box;
         -webkit-box-orient: vertical;
         -webkit-line-clamp: 5; /* 限制显示4行 */
+        line-clamp: 5; /* 标准属性 */
         overflow: hidden;
         text-overflow: ellipsis;
       }

+ 1 - 0
src/views/yygl/index.vue

@@ -456,6 +456,7 @@ export default {
         display: -webkit-box;
         -webkit-box-orient: vertical;
         -webkit-line-clamp: 5; /* 限制显示4行 */
+        line-clamp: 5; /* 标准属性 */
         overflow: hidden;
         text-overflow: ellipsis;
       }