Giter VIP home page Giter VIP logo

lin-cms-vue's Introduction

Hi 👋, I'm IGeekFan(天上月) ,我是一名 C#/ASP.NET Core/JavaScript开发者

🍳 推荐项目

📈 Github Statistics

🏆 欢迎微信搜索:dotNET搬砖队

lin-cms-vue's People

Contributors

chenjinchuang avatar colorful3 avatar dependabot[bot] avatar gadfly3173 avatar gongjs avatar jokky6 avatar leesamfong avatar lucienstar avatar luoyunchong avatar nightminggit avatar quanquan2100 avatar smileshirmy avatar sunlin92 avatar towelong avatar tzcodingjs avatar vanoneang avatar yyywang avatar zhangxiaoshang avatar zhaobao1830 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

lin-cms-vue's Issues

el-date-picker选择日期后返回给后端的时间戳不正确

重现步骤(可选):
使用el-date-picker组件,代码如下

<el-form-item label="购买日期" prop="date_purchased">
                <el-date-picker
                  v-model="form.date_purchased"
                  type="date"
                  placeholder="选择购买日期"
                  :picker-options="pickerOptions"
                >
                </el-date-picker>

期望的结果是什么?
后端收到正确的日期
实际的结果是什么?
我选择2022-05-20,后端收到的是减少了8小时的结果(2022-05-19 16:00:00.000),貌似是UTC时间
在网上查了下解决方案,

  1. VUE 2.*之后的版本加了这个属性:value-format="yyyy-MM-dd-hh-mm-ss" 以解决差8小时的问题
    实测:增加此属性以后会报错,组件无法加载到数据也无法进行选择
    Error in getter for watcher "parsedValue": "TypeError: e.match is not a function"
  2. 通过监听改成String数据类型
watch: {
    "date_purchased"(val) {
      this.date_purchased = '' + val
    },
  },

实测:无效

滥用异步导致mounted和created执行次序不正确

vue的mounted和created被设计为有先后次序的同步调用,created应该先于mounted执行。

但是在本框架里,所有的api wrapper(例如src/plugin/base/model/base.js)被设计为async,导致mounted和created必须被说明为async,导致mounted在created结束之前就开始执行。结果是在mounted里无法正常获取通过created初始化的数据。

例子见article-form

随笔管理

描述你希望的支持的新功能?

  • 随笔管理

你期望的 API 是怎样的?
get /v1/article 随笔列表页
post /v1/article 新增随笔
put /v1/article/{id} 修改随笔
get /v1/article/{id} 随笔详情

  • 基础资料-字典管理

数个页面执行错误?

新年好。

环境: win10 + node 18.17.0

重现步骤(可选):
1、lin-cms-dotnetcore 端仅修正 ConnectionStrings, 其他不做更改,直接以 vs2022 运行。
2、lin-cms-vue 端以 PowerShell 执行:
npm install -g pnpm
pnpm install
pnpm run serve
控制台显示警告: [@vue/compiler-sfc] :deep usage as a combinator has been deprecated. Use :deep() instead of :deep , 无其他错误提示。
3、浏览器打开 http://localhost:8080/, 正常登录后台
4、将左侧所有(子)菜单挨个点击一遍,查看页面显示内容

期望的结果是什么?
所有页面正常显示其对应信息。

实际的结果是什么?
大部分页面显示正常,部分页面脚本错误

错误页面对应菜单和错误:
1、权限管理-用户管理-用户列表,对应错误:
Uncaught runtime errors:
Cannot read properties of undefined (reading '$on')

2、权限管理-分组管理,对应错误:
ERROR
ResizeObserver loop completed with undelivered notifications.
ERROR
Cannot read properties of undefined (reading '$on')

3、工作台-随笔管理,对应错误:
Uncaught runtime errors:
ResizeObserver loop completed with undelivered notifications.

4、 this.eventBus.$on() 似乎需要审核下用法。

5、还有 async 修饰有些地方似乎用的不太恰当?

希望能抽时间修复下,感谢。

升级vue3后续bug处理

  • 用户无法注册
  • 无法修改用户信息
  • 本地化语言无法新增
  • 日志信息列表没有数据
  • 日志面板点击没反映\
  • 搜索等图标不显示
  • 分组权限无法设置
  • 用户管理,修改密码有时不显示

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.