vue2-client 1.2.18 → 1.2.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2-client",
3
- "version": "1.2.18",
3
+ "version": "1.2.19",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -252,7 +252,7 @@
252
252
  form: {
253
253
  name: '',
254
254
  category: undefined,
255
- desc: ''
255
+ desc: undefined
256
256
  },
257
257
  // 获取序列号使用
258
258
  data: {
@@ -363,7 +363,7 @@
363
363
  })
364
364
  .then(res => {
365
365
  const serialNumber = res
366
- if (!this.form.desc.length > 1) {
366
+ if (this.form.desc === undefined) {
367
367
  this.form.desc = '该用户没有填写描述信息'
368
368
  }
369
369
  // 拿到序列号,将数据保存到数据库中