Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

could not edit&update title&description for work #98

Closed
kaminaning opened this issue Oct 28, 2019 · 1 comment
Closed

could not edit&update title&description for work #98

kaminaning opened this issue Oct 28, 2019 · 1 comment
Assignees

Comments

@kaminaning
Copy link

kaminaning commented Oct 28, 2019

1、作品的标题和描述无法修改

<a-input
  class="input"
  value={this.work.title}
  onChange={e => {this.updateWork({ title: e.target.value })}}
  // onBlur={this.saveTitle}
  placeholder="请输入标题"
></a-input>

是不是因为value绑定了 this.work.title 引起的?

2、二维码没有绘制

visible(val) {
  if (!val) return;
  this.$nextTick(() => this.drawQRcode());
}

这个watch似乎没有触发

3、点击保存调用的put方法传参似乎有些问题

chunk-vendors.201aa3de.js:54 PUT https://api.luban-h5.wxjcart.com/works/undefined 500 (Internal Server Error)

会报500

@kaminaning kaminaning changed the title 作品预览里无法修改作品的标题、描述 作品预览里有一些BUG Oct 28, 2019
@ly525 ly525 changed the title 作品预览里有一些BUG could not edit&update title&description for work Nov 2, 2019
@ly525 ly525 self-assigned this Nov 2, 2019
@ly525 ly525 closed this as completed in 8635c9f Nov 2, 2019
@ly525
Copy link
Owner

ly525 commented Nov 2, 2019

  1. 应该多数是因为在创建work的时候,页面虽然跳转到编辑器页面了,但是作品Id没有生成,因此才会出现 第3点的URL中的 /works/undefined ,这个应该是本地开发后端无服务器没有开启导致的。可以再检查下
  2. 二维码问题已经解决
  3. 同1

我刚才本地和线上都已经测试过了,没有问题。
PS:感谢反馈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants