Vue问题之____error Irregular whitespace not allowed no-irregular-whitespace

博客提及不规则空格引起相关情况,但未明确具体影响。在信息技术领域,不规则空格可能影响数据处理、代码运行等。

在这里插入图片描述
不规则空格引起

由于错误,无法检查工作树中是否有未合并的文件。 Progress: resolved 1, reused 0, downloaded 0, added 0 Progress: resolved 35, reused 34, downloaded 1, added 0 Packages: +39 +++++++++++++++++++++++++++++++++++++++ Progress: resolved 39, reused 38, downloaded 1, added 39, done [33m[STARTED] Backing up original state... [32m[COMPLETED] Backed up original state in git stash (a8ccf171) [33m[STARTED] Running tasks for staged files... [33m[STARTED] package.json — 14 files [33m[STARTED] src/**/*.{js,vue} — 14 files [33m[STARTED] eslint --fix [31m[FAILED] eslint --fix [FAILED] [31m[FAILED] eslint --fix [FAILED] [32m[COMPLETED] Running tasks for staged files... [33m[STARTED] Applying modifications from tasks... [33m[SKIPPED] Skipped because of errors from tasks. [33m[STARTED] Reverting to original state because of errors... [32m[COMPLETED] Reverting to original state because of errors... [33m[STARTED] Cleaning up temporary files... [32m[COMPLETED] Cleaning up temporary files... ✖ eslint --fix: (node:59904) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time (Use `node --trace-warnings ...` to show where the warning was created) D:\purchase-receipt-sys\src\api\new-product\purchase-follow.js 199:1 warning Missing JSDoc @returns description jsdoc/require-returns-description 225:1 warning Missing JSDoc @returns description jsdoc/require-returns-description D:\purchase-receipt-sys\src\views\new-product\purchase-follow\children\offer-entry\index.vue 34:7 error 'components' is assigned a value but never used. Allowed unused vars must match /^_/u ts/no-unused-vars 38:9 error 'PRODUCT_CATEGORY' is assigned a value but never used. Allowed unused vars must match /^_/u ts/no-unused-vars 64:10 warning 'getNowTime' was used before it was defined ts/no-use-before-define 167:28 error 'rule' is defined but never used. Allowed unused args must match /^_/u ts/no-unused-vars 465:18 error This line has 2 statements. Maximum allowed is 1 style/max-statements-per-line 466:3 warning 'loading' was used before it was defined ts/no-use-before-define 472:5 warning 'loading' was used before it was defined ts/no-use-before-define 487:18 error 'upload' is assigned a value but never used. Allowed unused vars must match /^_/u ts/no-unused-vars 519:40 error Irregular whitespace not allowed no-irregular-whitespace 519:40 error Irregular whitespace not allowed vue/no-irregular-whitespace 519:43 error Irregular whitespace not allowed no-irregular-whitespace 519:43 error Irregular whitespace not allowed vue/no-irregular-whitespace 519:45 error Irregular whitespace not allowed no-irregular-whitespace 519:45 error Irregular whitespace not allowed vue/no-irregular-whitespace 519:60 error Irregular whitespace not allowed no-irregular-whitespace 519:60 error Irregular whitespace not allowed vue/no-irregular-whitespace 520:42 error Irregular whitespace not allowed no-irregular-whitespace 520:42 error Irregular whitespace not allowed vue/no-irregular-whitespace 520:45 error Irregular whitespace not allowed no-irregular-whitespace 520:45 error Irregular whitespace not allowed vue/no-irregular-whitespace 520:47 error Irregular whitespace not allowed no-irregular-whitespace 520:47 error Irregular whitespace not allowed vue/no-irregular-whitespace 520:62 error Irregular whitespace not allowed no-irregular-whitespace 520:62 error Irregular whitespace not allowed vue/no-irregular-whitespace 619:3 warning 'getPaymentDaysType' was used before it was defined ts/no-use-before-define 648:7 error 'purchaseData' is assigned a value but never used. Allowed unused vars must match /^_/u ts/no-unused-vars 660:7 warning 'defaultAssignment' was used before it was defined ts/no-use-before-define 802:20 warning 'findValueFromQCArea' was used before it was defined ts/no-use-before-define 802:40 warning 'qcAreaList' was used before it was defined ts/no-use-before-define D:\purchase-receipt-sys\src\views\new-product\purchase-follow\children\purchase-detail\components\quote-information.vue 2:7 error 'props' is assigned a value but never used. Allowed unused vars must match /^_/u ts/no-unused-vars 103:34 warning Unexpected mutation of "data" prop vue/no-mutating-props 135:34 warning Unexpected mutation of "data" prop vue/no-mutating-props 143:34 warning Unexpected mutation of "data" prop vue/no-mutating-props D:\purchase-receipt-sys\src\views\new-product\purchase-follow\children\sample-edit\index.vue 49:28 error 'rule' is defined but never used. Allowed unused args must match /^_/u ts/no-unused-vars 94:23 error 'val' is defined but never used. Allowed unused args must match /^_/u ts/no-unused-vars 115:40 error Irregular whitespace not allowed no-irregular-whitespace 115:40 error Irregular whitespace not allowed vue/no-irregular-whitespace 115:43 error Irregular whitespace not allowed no-irregular-whitespace 115:43 error Irregular whitespace not allowed vue/no-irregular-whitespace 115:45 error Irregular whitespace not allowed no-irregular-whitespace 115:45 error Irregular whitespace not allowed vue/no-irregular-whitespace 115:60 error Irregular whitespace not allowed no-irregular-whitespace 115:60 error Irregular whitespace not allowed vue/no-irregular-whitespace 116:42 error Irregular whitespace not allowed no-irregular-whitespace 116:42 error Irregular whitespace not allowed vue/no-irregular-whitespace 116:45 error Irregular whitespace not allowed no-irregular-whitespace 116:45 error Irregular whitespace not allowed vue/no-irregular-whitespace 116:47 error Irregular whitespace not allowed no-irregular-whitespace 116:47 error Irregular whitespace not allowed vue/no-irregular-whitespace 116:62 error Irregular whitespace not allowed no-irregular-whitespace 116:62 error Irregular whitespace not allowed vue/no-irregular-whitespace 153:50 error 'visitedViews' is defined but never used. Allowed unused args must match /^_/u ts/no-unused-vars 201:8 warning 'changeCompletionTime' was used before it was defined ts/no-use-before-define 242:7 error 'StatusMap' is assigned a value but never used. Allowed unused vars must match /^_/u ts/no-unused-vars D:\purchase-receipt-sys\src\views\product\product-management\children\product-enter\components\basic-info.vue 48:7 error 'components' is assigned a value but never used. Allowed unused vars must match /^_/u ts/no-unused-vars 107:18 error 'upload' is assigned a value but never used. Allowed unused vars must match /^_/u ts/no-unused-vars 140:24 warning 'handleExceed' was used before it was defined ts/no-use-before-define 161:52 error This line has 2 statements. Maximum allowed is 1 style/max-statements-per-line 166:5 warning Unexpected mutation of "modelValue" prop vue/no-mutating-props 181:3 warning Unexpected mutation of "modelValue" prop vue/no-mutating-props 194:3 warning 'myCountryList' was used before it was defined t ...
最新发布
09-20
<template> <div id="app">     <div id="Container"></div>     <div id='loadingbar' class="spinner">       <div class="spinner-container container1">         <div class="circle1"></div>         <div class="circle2"></div>         <div class="circle3"></div>         <div class="circle4"></div>       </div>       <div class="spinner-container container2">         <div class="circle1"></div>         <div class="circle2"></div>         <div class="circle3"></div>         <div class="circle4"></div>       </div>       <div class="spinner-container container3">         <div class="circle1"></div>         <div class="circle2"></div>         <div class="circle3"></div>         <div class="circle4"></div>       </div>     </div>   </div> </template> <script> import $ from 'jquery'; // 引入 jQuery import getEngineType from "../utils/superMap.js"; export default { name: 'HelloWorld', props: { msg: String }, data() { return { data: { sceneURL: 'http://www.supermapol.com/realspace/services/3D-wireFrame-2/rest/realspace', } } }, methods: { onload() { var EngineType = getEngineType(); var viewer = new SuperMap3D.Viewer('Container', { contextOptions: { contextType: Number(EngineType)  // Webgl2:2 ; WebGPU:3 } }); viewer.scenePromise.then((scene) => { this.init(SuperMap3D, scene, viewer); }); }, async init(SuperMap3D, scene, viewer) { viewer.resolutionScale = window.devicePixelRatio; var tileset = viewer.scene.primitives.add(await SuperMap3D.Cesium3DTileset.fromUrl('../B3DM/tileset.json')); viewer.zoomTo(tileset); $('#loadingbar').remove(); }, }, mounted() { this.onload(); } } </script> 50:43 error Irregular whitespace not allowed no-irregular-whitespace 54:19
04-02
评论 10
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值