twmodule 0.0.38 → 0.0.40

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/lib/twComp.umd.js CHANGED
@@ -1715,16 +1715,14 @@ module.exports = function (it, TAG, STATIC) {
1715
1715
  sendData: sendData
1716
1716
  };
1717
1717
 
1718
- if (currState) {
1719
- _this.$emit('formVerify', resultData);
1720
- }
1721
-
1722
1718
  _this.formData.formList.map(function (j) {
1723
1719
  if (j.required) {
1724
1720
  j.clicked = true;
1725
1721
  }
1726
1722
  });
1727
1723
 
1724
+ _this.$emit('formVerify', resultData);
1725
+
1728
1726
  if (isJump) {
1729
1727
  var currDom = '';
1730
1728
  var currTop = 0;
@@ -4095,21 +4093,6 @@ var es_string_split = __webpack_require__("0d7a");
4095
4093
  // EXTERNAL MODULE: ./node_modules/_core-js@3.6.5@core-js/modules/web.dom-collections.iterator.js
4096
4094
  var web_dom_collections_iterator = __webpack_require__("af86");
4097
4095
 
4098
- // CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.11.2@@babel/runtime/helpers/esm/defineProperty.js
4099
- function _defineProperty(obj, key, value) {
4100
- if (key in obj) {
4101
- Object.defineProperty(obj, key, {
4102
- value: value,
4103
- enumerable: true,
4104
- configurable: true,
4105
- writable: true
4106
- });
4107
- } else {
4108
- obj[key] = value;
4109
- }
4110
-
4111
- return obj;
4112
- }
4113
4096
  // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.11.2@@babel/runtime/helpers/esm/slicedToArray.js + 3 modules
4114
4097
  var slicedToArray = __webpack_require__("1998");
4115
4098
 
@@ -4128,10 +4111,6 @@ var slicedToArray = __webpack_require__("1998");
4128
4111
 
4129
4112
 
4130
4113
 
4131
-
4132
-
4133
- var _methods;
4134
-
4135
4114
  /* harmony default export */ var formItemvue_type_script_lang_js_ = ({
4136
4115
  name: 'formItem',
4137
4116
  props: ['formData'],
@@ -4155,7 +4134,7 @@ var _methods;
4155
4134
  };
4156
4135
  },
4157
4136
  mounted: function mounted() {},
4158
- methods: (_methods = {
4137
+ methods: {
4159
4138
  numberChange: function numberChange(data) {
4160
4139
  //数字类型时,字数限制
4161
4140
  if (data.type == 'tel' && data.value) {
@@ -4212,10 +4191,12 @@ var _methods;
4212
4191
  }
4213
4192
 
4214
4193
  data.clicked = true;
4194
+ this.gotoPage(data);
4215
4195
  this.$forceUpdate();
4216
4196
  },
4217
4197
  radioCheckClick: function radioCheckClick(item) {
4218
4198
  item.clicked = true;
4199
+ this.gotoPage(item);
4219
4200
  },
4220
4201
 
4221
4202
  /******************单选复选******start*****************/
@@ -4228,6 +4209,8 @@ var _methods;
4228
4209
 
4229
4210
  _this.currTarget = item;
4230
4211
  _this.radioCheckBoxShow = true;
4212
+
4213
+ _this.gotoPage(item);
4231
4214
  },
4232
4215
  checkAll: function checkAll() {
4233
4216
  //全选
@@ -4277,248 +4260,278 @@ var _methods;
4277
4260
 
4278
4261
  _this.currTarget.valueCopy = _this.currTarget.value;
4279
4262
  _this.radioCheckBoxShow = false;
4280
- }
4281
- }, _defineProperty(_methods, "radioCheckClick", function radioCheckClick(item) {
4282
- item.clicked = true;
4283
- }), _defineProperty(_methods, "gotoPage", function gotoPage(item) {
4284
- setTimeout(function () {
4285
- item.clicked = true;
4286
- }, 300);
4287
- this.$emit('gotoPage', item);
4288
- }), _defineProperty(_methods, "rangeOpenFun", function rangeOpenFun(item) {
4289
- setTimeout(function () {
4290
- item.clicked = true;
4291
- }, 300);
4263
+ },
4292
4264
 
4293
- var _this = this;
4265
+ /******************单选复选******end*****************/
4266
+ gotoPage: function gotoPage(item) {
4267
+ setTimeout(function () {
4268
+ item.clicked = true;
4269
+ }, 300);
4270
+ this.$emit('gotoPage', item);
4271
+ },
4294
4272
 
4295
- _this.currTime = item;
4296
- _this.rangeType = item.rangeType ? item.rangeType : 'range';
4297
- _this.rangeColor = item.rangeColor ? item.rangeColor : '#3399ff';
4298
- _this.startDate = item.startDate ? new Date(item.startDate) : new Date(new Date().setFullYear(new Date().getFullYear() - 10));
4299
- _this.endDate = item.endDate ? new Date(item.endDate) : new Date(new Date().setFullYear(new Date().getFullYear() + 10));
4273
+ /******** 时间段选择触发 ***** start *****/
4274
+ rangeOpenFun: function rangeOpenFun(item) {
4275
+ setTimeout(function () {
4276
+ item.clicked = true;
4277
+ }, 300);
4300
4278
 
4301
- if ((item.startText || item.endText) && item.rangeType == 'range') {
4302
- this.rangeRowHeight = 64;
4303
- }
4279
+ var _this = this;
4304
4280
 
4305
- _this.rangeOpen = true;
4306
- }), _defineProperty(_methods, "rangeConfirm", function rangeConfirm(date) {
4307
- if (this.rangeType == 'range') {
4308
- var _date = Object(slicedToArray["a" /* default */])(date, 2),
4309
- start = _date[0],
4310
- end = _date[1];
4281
+ _this.currTime = item;
4282
+ _this.rangeType = item.rangeType ? item.rangeType : 'range';
4283
+ _this.rangeColor = item.rangeColor ? item.rangeColor : '#3399ff';
4284
+ _this.startDate = item.startDate ? new Date(item.startDate) : new Date(new Date().setFullYear(new Date().getFullYear() - 10));
4285
+ _this.endDate = item.endDate ? new Date(item.endDate) : new Date(new Date().setFullYear(new Date().getFullYear() + 10));
4311
4286
 
4312
- this.currTime.value = "".concat(this.changeDate(start), " - ").concat(this.changeDate(end));
4313
- } else {
4314
- this.currTime.value = this.changeDate(date);
4315
- }
4287
+ if ((item.startText || item.endText) && item.rangeType == 'range') {
4288
+ this.rangeRowHeight = 64;
4289
+ }
4316
4290
 
4317
- this.rangeOpen = false;
4318
- }), _defineProperty(_methods, "formatterRange", function formatterRange(day) {
4319
- if (this.changeDate(day.date) == this.changeDate(new Date())) {
4320
- day.topInfo = '今天';
4321
- }
4291
+ _this.rangeOpen = true;
4292
+ },
4293
+ rangeConfirm: function rangeConfirm(date) {
4294
+ if (this.rangeType == 'range') {
4295
+ var _date = Object(slicedToArray["a" /* default */])(date, 2),
4296
+ start = _date[0],
4297
+ end = _date[1];
4322
4298
 
4323
- if (day.type === 'start') {
4324
- day.bottomInfo = this.currTime.startText ? this.currTime.startText : '';
4325
- } else if (day.type === 'end') {
4326
- day.bottomInfo = this.currTime.endText ? this.currTime.endText : '';
4327
- }
4299
+ this.currTime.value = "".concat(this.changeDate(start), " - ").concat(this.changeDate(end));
4300
+ } else {
4301
+ this.currTime.value = this.changeDate(date);
4302
+ }
4328
4303
 
4329
- return day;
4330
- }), _defineProperty(_methods, "jumpToday", function jumpToday() {
4331
- this.$refs.rangeChoose.reset();
4332
- }), _defineProperty(_methods, "timeOpenFun", function timeOpenFun(item) {
4333
- setTimeout(function () {
4334
- item.clicked = true;
4335
- }, 300);
4304
+ this.rangeOpen = false;
4305
+ this.gotoPage(this.currTime);
4306
+ },
4307
+ formatterRange: function formatterRange(day) {
4308
+ if (this.changeDate(day.date) == this.changeDate(new Date())) {
4309
+ day.topInfo = '今天';
4310
+ }
4336
4311
 
4337
- var _this = this;
4312
+ if (day.type === 'start') {
4313
+ day.bottomInfo = this.currTime.startText ? this.currTime.startText : '';
4314
+ } else if (day.type === 'end') {
4315
+ day.bottomInfo = this.currTime.endText ? this.currTime.endText : '';
4316
+ }
4338
4317
 
4339
- _this.currTime = item;
4340
- _this.timeType = item.timeType ? item.timeType : 'datetime';
4318
+ return day;
4319
+ },
4320
+ jumpToday: function jumpToday() {
4321
+ this.$refs.rangeChoose.reset();
4322
+ },
4341
4323
 
4342
- if (_this.timeType == 'time') {
4343
- _this.pickerValueDate = '';
4344
- }
4324
+ /******** 时间段选择触发 ***** end *****/
4345
4325
 
4346
- _this.startDate = item.startDate ? new Date(item.startDate) : new Date(new Date().setFullYear(new Date().getFullYear() - 10));
4347
- _this.endDate = item.endDate ? new Date(item.endDate) : new Date(new Date().setFullYear(new Date().getFullYear() + 10));
4348
- _this.timeOpen = true;
4349
- }), _defineProperty(_methods, "timeChange", function timeChange(picker) {}), _defineProperty(_methods, "timeConfirm", function timeConfirm(time) {
4350
- this.pickerValueDate = time;
4351
- this.currTime.value = this.timeType == 'time' ? time : this.changeDate(time, this.timeType);
4352
- this.timeOpen = false;
4353
- }), _defineProperty(_methods, "filter", function filter(type, options) {
4354
- if (type === 'minute') {
4355
- return options.filter(function (option) {
4356
- return option % 10 === 0;
4357
- });
4358
- }
4326
+ /******** 时间点选择触发 ***** start *****/
4327
+ timeOpenFun: function timeOpenFun(item) {
4328
+ setTimeout(function () {
4329
+ item.clicked = true;
4330
+ }, 300);
4359
4331
 
4360
- return options;
4361
- }), _defineProperty(_methods, "formatterTime", function formatterTime(type, val) {
4362
- if (type === 'year') {
4363
- return "".concat(val, "\u5E74");
4364
- } else if (type === 'month') {
4365
- return "".concat(val, "\u6708");
4366
- } else if (type === 'day') {
4367
- return "".concat(val, "\u65E5");
4368
- } else if (type === 'hour') {
4369
- return "".concat(val, "\u65F6");
4370
- } else if (type === 'minute') {
4371
- return "".concat(val, "\u5206");
4372
- }
4332
+ var _this = this;
4373
4333
 
4374
- return val;
4375
- }), _defineProperty(_methods, "selectChange", function selectChange(picker, values, index) {
4376
- console.log(index);
4377
- }), _defineProperty(_methods, "rebuildData", function rebuildData(data, num) {
4378
- var _this = this;
4334
+ _this.currTime = item;
4335
+ _this.timeType = item.timeType ? item.timeType : 'datetime';
4379
4336
 
4380
- if (data.length > 0) {
4381
- data.map(function (i) {
4382
- if (i.children && i.children.length > 0) {
4383
- _this.rebuildData(i.children);
4384
- }
4385
- });
4337
+ if (_this.timeType == 'time') {
4338
+ _this.pickerValueDate = '';
4339
+ }
4386
4340
 
4387
- if (num == 2) {
4388
- data.unshift({
4389
- text: '全部',
4390
- value: '',
4391
- children: [{
4392
- text: '',
4393
- value: '',
4394
- children: ''
4395
- }]
4341
+ _this.startDate = item.startDate ? new Date(item.startDate) : new Date(new Date().setFullYear(new Date().getFullYear() - 10));
4342
+ _this.endDate = item.endDate ? new Date(item.endDate) : new Date(new Date().setFullYear(new Date().getFullYear() + 10));
4343
+ _this.timeOpen = true;
4344
+ },
4345
+ timeChange: function timeChange(picker) {},
4346
+ timeConfirm: function timeConfirm(time) {
4347
+ this.pickerValueDate = time;
4348
+ this.currTime.value = this.timeType == 'time' ? time : this.changeDate(time, this.timeType);
4349
+ this.timeOpen = false;
4350
+ this.gotoPage(this.currTime);
4351
+ },
4352
+ filter: function filter(type, options) {
4353
+ if (type === 'minute') {
4354
+ return options.filter(function (option) {
4355
+ return option % 10 === 0;
4356
+ });
4357
+ }
4358
+
4359
+ return options;
4360
+ },
4361
+ formatterTime: function formatterTime(type, val) {
4362
+ if (type === 'year') {
4363
+ return "".concat(val, "\u5E74");
4364
+ } else if (type === 'month') {
4365
+ return "".concat(val, "\u6708");
4366
+ } else if (type === 'day') {
4367
+ return "".concat(val, "\u65E5");
4368
+ } else if (type === 'hour') {
4369
+ return "".concat(val, "\u65F6");
4370
+ } else if (type === 'minute') {
4371
+ return "".concat(val, "\u5206");
4372
+ }
4373
+
4374
+ return val;
4375
+ },
4376
+
4377
+ /******** 时间点选择触发 ***** end *****/
4378
+
4379
+ /**************上拉选择******start*********/
4380
+ selectChange: function selectChange(picker, values, index) {
4381
+ console.log(index);
4382
+ },
4383
+ rebuildData: function rebuildData(data, num) {
4384
+ var _this = this;
4385
+
4386
+ if (data.length > 0) {
4387
+ data.map(function (i) {
4388
+ if (i.children && i.children.length > 0) {
4389
+ _this.rebuildData(i.children);
4390
+ }
4396
4391
  });
4397
- } else if (num == 3) {
4398
- data.unshift({
4399
- text: '全部',
4400
- value: '',
4401
- children: [{
4402
- text: '',
4392
+
4393
+ if (num == 2) {
4394
+ data.unshift({
4395
+ text: '全部',
4403
4396
  value: '',
4404
4397
  children: [{
4405
4398
  text: '',
4406
4399
  value: '',
4407
4400
  children: ''
4408
4401
  }]
4409
- }]
4410
- });
4411
- } else {
4412
- data.unshift({
4413
- text: '全部',
4414
- value: '',
4415
- children: [{
4416
- text: '',
4402
+ });
4403
+ } else if (num == 3) {
4404
+ data.unshift({
4405
+ text: '全部',
4417
4406
  value: '',
4418
- children: ''
4419
- }]
4420
- });
4407
+ children: [{
4408
+ text: '',
4409
+ value: '',
4410
+ children: [{
4411
+ text: '',
4412
+ value: '',
4413
+ children: ''
4414
+ }]
4415
+ }]
4416
+ });
4417
+ } else {
4418
+ data.unshift({
4419
+ text: '全部',
4420
+ value: '',
4421
+ children: [{
4422
+ text: '',
4423
+ value: '',
4424
+ children: ''
4425
+ }]
4426
+ });
4427
+ }
4421
4428
  }
4422
- }
4423
4429
 
4424
- return [{
4425
- text: '',
4426
- value: 0,
4427
- children: data
4428
- }];
4429
- }), _defineProperty(_methods, "selectOneBoxOpen", function selectOneBoxOpen(item) {
4430
- setTimeout(function () {
4431
- item.clicked = true;
4432
- }, 300);
4430
+ return [{
4431
+ text: '',
4432
+ value: 0,
4433
+ children: data
4434
+ }];
4435
+ },
4436
+ selectOneBoxOpen: function selectOneBoxOpen(item) {
4437
+ setTimeout(function () {
4438
+ item.clicked = true;
4439
+ }, 300);
4433
4440
 
4434
- var _this = this;
4441
+ var _this = this;
4435
4442
 
4436
- this.currTarget = item;
4437
- this.selectOneList = [];
4438
- this.selectOneList = JSON.parse(JSON.stringify(item.list));
4443
+ this.currTarget = item;
4444
+ this.selectOneList = [];
4445
+ this.selectOneList = JSON.parse(JSON.stringify(item.list));
4439
4446
 
4440
- if (item.type == 'selectOneContact') {
4441
- var currList = this.rebuildData(this.selectOneList, item.levelNum);
4447
+ if (item.type == 'selectOneContact') {
4448
+ var currList = this.rebuildData(this.selectOneList, item.levelNum);
4442
4449
 
4443
- if (item.valueIndex && item.valueIndex.length > 0) {
4444
- var currIndex = item.valueIndex;
4445
- currList[0].defaultIndex = currIndex[1];
4446
- currList[0].children[currIndex[1]].defaultIndex = currIndex[2];
4447
- currList[0].children[currIndex[1]].children[currIndex[2]].defaultIndex = currIndex[3];
4448
- }
4450
+ if (item.valueIndex && item.valueIndex.length > 0) {
4451
+ var currIndex = item.valueIndex;
4452
+ currList[0].defaultIndex = currIndex[1];
4453
+ currList[0].children[currIndex[1]].defaultIndex = currIndex[2];
4454
+ currList[0].children[currIndex[1]].children[currIndex[2]].defaultIndex = currIndex[3];
4455
+ }
4449
4456
 
4450
- this.selectOneList = currList;
4451
- setTimeout(function () {
4452
- document.getElementsByClassName('van-picker-column')[0].style.display = 'none';
4457
+ this.selectOneList = currList;
4458
+ setTimeout(function () {
4459
+ document.getElementsByClassName('van-picker-column')[0].style.display = 'none';
4453
4460
 
4454
- if (item.valueIndex && item.valueIndex[item.levelNum] == '0') {
4455
- document.getElementsByClassName('van-picker-column')[item.levelNum + 1] ? document.getElementsByClassName('van-picker-column')[item.levelNum + 1].style.display = 'none' : '';
4456
- }
4457
- }, 100);
4458
- } else {
4459
- if (item.value) {
4460
- item.value.split(',').map(function (j) {
4461
- _this.selectOneList.map(function (k) {
4462
- k.values.map(function (l, p) {
4463
- if (j == l.value) {
4464
- k.defaultIndex = p + 1;
4465
- }
4461
+ if (item.valueIndex && item.valueIndex[item.levelNum] == '0') {
4462
+ document.getElementsByClassName('van-picker-column')[item.levelNum + 1] ? document.getElementsByClassName('van-picker-column')[item.levelNum + 1].style.display = 'none' : '';
4463
+ }
4464
+ }, 100);
4465
+ } else {
4466
+ if (item.value) {
4467
+ item.value.split(',').map(function (j) {
4468
+ _this.selectOneList.map(function (k) {
4469
+ k.values.map(function (l, p) {
4470
+ if (j == l.value) {
4471
+ k.defaultIndex = p + 1;
4472
+ }
4473
+ });
4466
4474
  });
4467
4475
  });
4476
+ }
4477
+
4478
+ this.selectOneList.map(function (i) {
4479
+ i.values.unshift({
4480
+ text: '请选择',
4481
+ value: ''
4482
+ });
4468
4483
  });
4484
+ setTimeout(function () {
4485
+ document.getElementsByClassName('van-picker-column')[0].style.display = 'inline-block';
4486
+ }, 100);
4469
4487
  }
4470
4488
 
4471
- this.selectOneList.map(function (i) {
4472
- i.values.unshift({
4473
- text: '请选择',
4474
- value: ''
4475
- });
4476
- });
4477
- setTimeout(function () {
4478
- document.getElementsByClassName('van-picker-column')[0].style.display = 'inline-block';
4479
- }, 100);
4480
- }
4489
+ this.selectOneOpen = true;
4490
+ },
4491
+ selectOneConfirm: function selectOneConfirm(val, index) {
4492
+ var _this = this;
4481
4493
 
4482
- this.selectOneOpen = true;
4483
- }), _defineProperty(_methods, "selectOneConfirm", function selectOneConfirm(val, index) {
4484
- var _this = this;
4494
+ _this.currTarget.showName = '';
4495
+ _this.currTarget.value = '';
4485
4496
 
4486
- _this.currTarget.showName = '';
4487
- _this.currTarget.value = '';
4497
+ if (_this.currTarget.type == 'selectOneContact') {
4498
+ val.map(function (i, j) {
4499
+ if (i) {
4500
+ _this.currTarget.showName += i + '-';
4501
+ }
4502
+ });
4503
+ _this.currTarget.valueIndex = index;
4504
+ var data = _this.selectOneList;
4488
4505
 
4489
- if (_this.currTarget.type == 'selectOneContact') {
4490
- val.map(function (i, j) {
4491
- if (i) {
4492
- _this.currTarget.showName += i + '-';
4506
+ if ((index[1] || index[1] == 0) && data[index[0]].children[index[1]].value) {
4507
+ _this.currTarget.value += data[index[0]].children[index[1]].value + ',';
4493
4508
  }
4494
- });
4495
- _this.currTarget.valueIndex = index;
4496
- var data = _this.selectOneList;
4497
4509
 
4498
- if ((index[1] || index[1] == 0) && data[index[0]].children[index[1]].value) {
4499
- _this.currTarget.value += data[index[0]].children[index[1]].value + ',';
4500
- }
4510
+ if ((index[2] || index[2] == 0) && data[index[0]].children[index[1]].children[index[2]].value) {
4511
+ _this.currTarget.value += data[index[0]].children[index[1]].children[index[2]].value + ',';
4512
+ }
4501
4513
 
4502
- if ((index[2] || index[2] == 0) && data[index[0]].children[index[1]].children[index[2]].value) {
4503
- _this.currTarget.value += data[index[0]].children[index[1]].children[index[2]].value + ',';
4514
+ if ((index[3] || index[3] == 0) && _this.currTarget.levelNum == 3 && data[index[0]].children[index[1]].children[index[2]].children[index[3]].value) {
4515
+ _this.currTarget.value += data[index[0]].children[index[1]].children[index[2]].children[index[3]].value + ',';
4516
+ }
4517
+ } else {
4518
+ val.map(function (i) {
4519
+ if (i.value) {
4520
+ _this.currTarget.showName += i.text + ',';
4521
+ _this.currTarget.value += i.value + ',';
4522
+ }
4523
+ });
4504
4524
  }
4505
4525
 
4506
- if ((index[3] || index[3] == 0) && _this.currTarget.levelNum == 3 && data[index[0]].children[index[1]].children[index[2]].children[index[3]].value) {
4507
- _this.currTarget.value += data[index[0]].children[index[1]].children[index[2]].children[index[3]].value + ',';
4508
- }
4509
- } else {
4510
- val.map(function (i) {
4511
- if (i.value) {
4512
- _this.currTarget.showName += i.text + ',';
4513
- _this.currTarget.value += i.value + ',';
4514
- }
4515
- });
4526
+ _this.currTarget.showName = _this.currTarget.showName.substring(0, _this.currTarget.showName.length - 1);
4527
+ _this.currTarget.value = _this.currTarget.value.substring(0, _this.currTarget.value.length - 1);
4528
+ _this.selectOneOpen = false;
4529
+
4530
+ _this.gotoPage(_this.currTarget);
4516
4531
  }
4532
+ /**************上拉选择******end***************/
4517
4533
 
4518
- _this.currTarget.showName = _this.currTarget.showName.substring(0, _this.currTarget.showName.length - 1);
4519
- _this.currTarget.value = _this.currTarget.value.substring(0, _this.currTarget.value.length - 1);
4520
- _this.selectOneOpen = false;
4521
- }), _methods)
4534
+ }
4522
4535
  });
4523
4536
  var formData1 = {
4524
4537
  //input:text tel正整数 number数字 digit整数 password密码
@@ -8803,7 +8816,7 @@ var mainvue_type_template_id_7c575200_staticRenderFns = []
8803
8816
 
8804
8817
  // CONCATENATED MODULE: ./packages/twFormItem/src/main.vue?vue&type=template&id=7c575200&
8805
8818
 
8806
- // EXTERNAL MODULE: ./examples/components/comPage/formItem/formItem.vue + 5 modules
8819
+ // EXTERNAL MODULE: ./examples/components/comPage/formItem/formItem.vue + 4 modules
8807
8820
  var formItem = __webpack_require__("a303");
8808
8821
 
8809
8822
  // CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.1.0@babel-loader/lib!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.3@vue-loader/lib??vue-loader-options!./packages/twFormItem/src/main.vue?vue&type=script&lang=js&