askbot-dragon 1.0.3 → 1.0.4

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": "askbot-dragon",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -1944,7 +1944,7 @@ export default {
1944
1944
  errorText = '问题描述必须要有附件'
1945
1945
  }
1946
1946
  if (!textFlag && (!imageFlag || !attachmentFlag)) {
1947
- errorText = '问题描述必须要有文字和' + !imageFlag ? '图片' : '附件'
1947
+ errorText = '问题描述必须要有文字和' + (!imageFlag ? '图片' : '附件')
1948
1948
  }
1949
1949
  if (!imageFlag && !attachmentFlag) {
1950
1950
  errorText = '问题描述必须要有图片和附件'