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.
@@ -1706,16 +1706,14 @@ module.exports = function (it, TAG, STATIC) {
1706
1706
  sendData: sendData
1707
1707
  };
1708
1708
 
1709
- if (currState) {
1710
- _this.$emit('formVerify', resultData);
1711
- }
1712
-
1713
1709
  _this.formData.formList.map(function (j) {
1714
1710
  if (j.required) {
1715
1711
  j.clicked = true;
1716
1712
  }
1717
1713
  });
1718
1714
 
1715
+ _this.$emit('formVerify', resultData);
1716
+
1719
1717
  if (isJump) {
1720
1718
  var currDom = '';
1721
1719
  var currTop = 0;
@@ -4086,21 +4084,6 @@ var es_string_split = __webpack_require__("0d7a");
4086
4084
  // EXTERNAL MODULE: ./node_modules/_core-js@3.6.5@core-js/modules/web.dom-collections.iterator.js
4087
4085
  var web_dom_collections_iterator = __webpack_require__("af86");
4088
4086
 
4089
- // CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.11.2@@babel/runtime/helpers/esm/defineProperty.js
4090
- function _defineProperty(obj, key, value) {
4091
- if (key in obj) {
4092
- Object.defineProperty(obj, key, {
4093
- value: value,
4094
- enumerable: true,
4095
- configurable: true,
4096
- writable: true
4097
- });
4098
- } else {
4099
- obj[key] = value;
4100
- }
4101
-
4102
- return obj;
4103
- }
4104
4087
  // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.11.2@@babel/runtime/helpers/esm/slicedToArray.js + 3 modules
4105
4088
  var slicedToArray = __webpack_require__("1998");
4106
4089
 
@@ -4119,10 +4102,6 @@ var slicedToArray = __webpack_require__("1998");
4119
4102
 
4120
4103
 
4121
4104
 
4122
-
4123
-
4124
- var _methods;
4125
-
4126
4105
  /* harmony default export */ var formItemvue_type_script_lang_js_ = ({
4127
4106
  name: 'formItem',
4128
4107
  props: ['formData'],
@@ -4146,7 +4125,7 @@ var _methods;
4146
4125
  };
4147
4126
  },
4148
4127
  mounted: function mounted() {},
4149
- methods: (_methods = {
4128
+ methods: {
4150
4129
  numberChange: function numberChange(data) {
4151
4130
  //数字类型时,字数限制
4152
4131
  if (data.type == 'tel' && data.value) {
@@ -4203,10 +4182,12 @@ var _methods;
4203
4182
  }
4204
4183
 
4205
4184
  data.clicked = true;
4185
+ this.gotoPage(data);
4206
4186
  this.$forceUpdate();
4207
4187
  },
4208
4188
  radioCheckClick: function radioCheckClick(item) {
4209
4189
  item.clicked = true;
4190
+ this.gotoPage(item);
4210
4191
  },
4211
4192
 
4212
4193
  /******************单选复选******start*****************/
@@ -4219,6 +4200,8 @@ var _methods;
4219
4200
 
4220
4201
  _this.currTarget = item;
4221
4202
  _this.radioCheckBoxShow = true;
4203
+
4204
+ _this.gotoPage(item);
4222
4205
  },
4223
4206
  checkAll: function checkAll() {
4224
4207
  //全选
@@ -4268,248 +4251,278 @@ var _methods;
4268
4251
 
4269
4252
  _this.currTarget.valueCopy = _this.currTarget.value;
4270
4253
  _this.radioCheckBoxShow = false;
4271
- }
4272
- }, _defineProperty(_methods, "radioCheckClick", function radioCheckClick(item) {
4273
- item.clicked = true;
4274
- }), _defineProperty(_methods, "gotoPage", function gotoPage(item) {
4275
- setTimeout(function () {
4276
- item.clicked = true;
4277
- }, 300);
4278
- this.$emit('gotoPage', item);
4279
- }), _defineProperty(_methods, "rangeOpenFun", function rangeOpenFun(item) {
4280
- setTimeout(function () {
4281
- item.clicked = true;
4282
- }, 300);
4254
+ },
4283
4255
 
4284
- var _this = this;
4256
+ /******************单选复选******end*****************/
4257
+ gotoPage: function gotoPage(item) {
4258
+ setTimeout(function () {
4259
+ item.clicked = true;
4260
+ }, 300);
4261
+ this.$emit('gotoPage', item);
4262
+ },
4285
4263
 
4286
- _this.currTime = item;
4287
- _this.rangeType = item.rangeType ? item.rangeType : 'range';
4288
- _this.rangeColor = item.rangeColor ? item.rangeColor : '#3399ff';
4289
- _this.startDate = item.startDate ? new Date(item.startDate) : new Date(new Date().setFullYear(new Date().getFullYear() - 10));
4290
- _this.endDate = item.endDate ? new Date(item.endDate) : new Date(new Date().setFullYear(new Date().getFullYear() + 10));
4264
+ /******** 时间段选择触发 ***** start *****/
4265
+ rangeOpenFun: function rangeOpenFun(item) {
4266
+ setTimeout(function () {
4267
+ item.clicked = true;
4268
+ }, 300);
4291
4269
 
4292
- if ((item.startText || item.endText) && item.rangeType == 'range') {
4293
- this.rangeRowHeight = 64;
4294
- }
4270
+ var _this = this;
4295
4271
 
4296
- _this.rangeOpen = true;
4297
- }), _defineProperty(_methods, "rangeConfirm", function rangeConfirm(date) {
4298
- if (this.rangeType == 'range') {
4299
- var _date = Object(slicedToArray["a" /* default */])(date, 2),
4300
- start = _date[0],
4301
- end = _date[1];
4272
+ _this.currTime = item;
4273
+ _this.rangeType = item.rangeType ? item.rangeType : 'range';
4274
+ _this.rangeColor = item.rangeColor ? item.rangeColor : '#3399ff';
4275
+ _this.startDate = item.startDate ? new Date(item.startDate) : new Date(new Date().setFullYear(new Date().getFullYear() - 10));
4276
+ _this.endDate = item.endDate ? new Date(item.endDate) : new Date(new Date().setFullYear(new Date().getFullYear() + 10));
4302
4277
 
4303
- this.currTime.value = "".concat(this.changeDate(start), " - ").concat(this.changeDate(end));
4304
- } else {
4305
- this.currTime.value = this.changeDate(date);
4306
- }
4278
+ if ((item.startText || item.endText) && item.rangeType == 'range') {
4279
+ this.rangeRowHeight = 64;
4280
+ }
4307
4281
 
4308
- this.rangeOpen = false;
4309
- }), _defineProperty(_methods, "formatterRange", function formatterRange(day) {
4310
- if (this.changeDate(day.date) == this.changeDate(new Date())) {
4311
- day.topInfo = '今天';
4312
- }
4282
+ _this.rangeOpen = true;
4283
+ },
4284
+ rangeConfirm: function rangeConfirm(date) {
4285
+ if (this.rangeType == 'range') {
4286
+ var _date = Object(slicedToArray["a" /* default */])(date, 2),
4287
+ start = _date[0],
4288
+ end = _date[1];
4313
4289
 
4314
- if (day.type === 'start') {
4315
- day.bottomInfo = this.currTime.startText ? this.currTime.startText : '';
4316
- } else if (day.type === 'end') {
4317
- day.bottomInfo = this.currTime.endText ? this.currTime.endText : '';
4318
- }
4290
+ this.currTime.value = "".concat(this.changeDate(start), " - ").concat(this.changeDate(end));
4291
+ } else {
4292
+ this.currTime.value = this.changeDate(date);
4293
+ }
4319
4294
 
4320
- return day;
4321
- }), _defineProperty(_methods, "jumpToday", function jumpToday() {
4322
- this.$refs.rangeChoose.reset();
4323
- }), _defineProperty(_methods, "timeOpenFun", function timeOpenFun(item) {
4324
- setTimeout(function () {
4325
- item.clicked = true;
4326
- }, 300);
4295
+ this.rangeOpen = false;
4296
+ this.gotoPage(this.currTime);
4297
+ },
4298
+ formatterRange: function formatterRange(day) {
4299
+ if (this.changeDate(day.date) == this.changeDate(new Date())) {
4300
+ day.topInfo = '今天';
4301
+ }
4327
4302
 
4328
- var _this = this;
4303
+ if (day.type === 'start') {
4304
+ day.bottomInfo = this.currTime.startText ? this.currTime.startText : '';
4305
+ } else if (day.type === 'end') {
4306
+ day.bottomInfo = this.currTime.endText ? this.currTime.endText : '';
4307
+ }
4329
4308
 
4330
- _this.currTime = item;
4331
- _this.timeType = item.timeType ? item.timeType : 'datetime';
4309
+ return day;
4310
+ },
4311
+ jumpToday: function jumpToday() {
4312
+ this.$refs.rangeChoose.reset();
4313
+ },
4332
4314
 
4333
- if (_this.timeType == 'time') {
4334
- _this.pickerValueDate = '';
4335
- }
4315
+ /******** 时间段选择触发 ***** end *****/
4336
4316
 
4337
- _this.startDate = item.startDate ? new Date(item.startDate) : new Date(new Date().setFullYear(new Date().getFullYear() - 10));
4338
- _this.endDate = item.endDate ? new Date(item.endDate) : new Date(new Date().setFullYear(new Date().getFullYear() + 10));
4339
- _this.timeOpen = true;
4340
- }), _defineProperty(_methods, "timeChange", function timeChange(picker) {}), _defineProperty(_methods, "timeConfirm", function timeConfirm(time) {
4341
- this.pickerValueDate = time;
4342
- this.currTime.value = this.timeType == 'time' ? time : this.changeDate(time, this.timeType);
4343
- this.timeOpen = false;
4344
- }), _defineProperty(_methods, "filter", function filter(type, options) {
4345
- if (type === 'minute') {
4346
- return options.filter(function (option) {
4347
- return option % 10 === 0;
4348
- });
4349
- }
4317
+ /******** 时间点选择触发 ***** start *****/
4318
+ timeOpenFun: function timeOpenFun(item) {
4319
+ setTimeout(function () {
4320
+ item.clicked = true;
4321
+ }, 300);
4350
4322
 
4351
- return options;
4352
- }), _defineProperty(_methods, "formatterTime", function formatterTime(type, val) {
4353
- if (type === 'year') {
4354
- return "".concat(val, "\u5E74");
4355
- } else if (type === 'month') {
4356
- return "".concat(val, "\u6708");
4357
- } else if (type === 'day') {
4358
- return "".concat(val, "\u65E5");
4359
- } else if (type === 'hour') {
4360
- return "".concat(val, "\u65F6");
4361
- } else if (type === 'minute') {
4362
- return "".concat(val, "\u5206");
4363
- }
4323
+ var _this = this;
4364
4324
 
4365
- return val;
4366
- }), _defineProperty(_methods, "selectChange", function selectChange(picker, values, index) {
4367
- console.log(index);
4368
- }), _defineProperty(_methods, "rebuildData", function rebuildData(data, num) {
4369
- var _this = this;
4325
+ _this.currTime = item;
4326
+ _this.timeType = item.timeType ? item.timeType : 'datetime';
4370
4327
 
4371
- if (data.length > 0) {
4372
- data.map(function (i) {
4373
- if (i.children && i.children.length > 0) {
4374
- _this.rebuildData(i.children);
4375
- }
4376
- });
4328
+ if (_this.timeType == 'time') {
4329
+ _this.pickerValueDate = '';
4330
+ }
4377
4331
 
4378
- if (num == 2) {
4379
- data.unshift({
4380
- text: '全部',
4381
- value: '',
4382
- children: [{
4383
- text: '',
4384
- value: '',
4385
- children: ''
4386
- }]
4332
+ _this.startDate = item.startDate ? new Date(item.startDate) : new Date(new Date().setFullYear(new Date().getFullYear() - 10));
4333
+ _this.endDate = item.endDate ? new Date(item.endDate) : new Date(new Date().setFullYear(new Date().getFullYear() + 10));
4334
+ _this.timeOpen = true;
4335
+ },
4336
+ timeChange: function timeChange(picker) {},
4337
+ timeConfirm: function timeConfirm(time) {
4338
+ this.pickerValueDate = time;
4339
+ this.currTime.value = this.timeType == 'time' ? time : this.changeDate(time, this.timeType);
4340
+ this.timeOpen = false;
4341
+ this.gotoPage(this.currTime);
4342
+ },
4343
+ filter: function filter(type, options) {
4344
+ if (type === 'minute') {
4345
+ return options.filter(function (option) {
4346
+ return option % 10 === 0;
4347
+ });
4348
+ }
4349
+
4350
+ return options;
4351
+ },
4352
+ formatterTime: function formatterTime(type, val) {
4353
+ if (type === 'year') {
4354
+ return "".concat(val, "\u5E74");
4355
+ } else if (type === 'month') {
4356
+ return "".concat(val, "\u6708");
4357
+ } else if (type === 'day') {
4358
+ return "".concat(val, "\u65E5");
4359
+ } else if (type === 'hour') {
4360
+ return "".concat(val, "\u65F6");
4361
+ } else if (type === 'minute') {
4362
+ return "".concat(val, "\u5206");
4363
+ }
4364
+
4365
+ return val;
4366
+ },
4367
+
4368
+ /******** 时间点选择触发 ***** end *****/
4369
+
4370
+ /**************上拉选择******start*********/
4371
+ selectChange: function selectChange(picker, values, index) {
4372
+ console.log(index);
4373
+ },
4374
+ rebuildData: function rebuildData(data, num) {
4375
+ var _this = this;
4376
+
4377
+ if (data.length > 0) {
4378
+ data.map(function (i) {
4379
+ if (i.children && i.children.length > 0) {
4380
+ _this.rebuildData(i.children);
4381
+ }
4387
4382
  });
4388
- } else if (num == 3) {
4389
- data.unshift({
4390
- text: '全部',
4391
- value: '',
4392
- children: [{
4393
- text: '',
4383
+
4384
+ if (num == 2) {
4385
+ data.unshift({
4386
+ text: '全部',
4394
4387
  value: '',
4395
4388
  children: [{
4396
4389
  text: '',
4397
4390
  value: '',
4398
4391
  children: ''
4399
4392
  }]
4400
- }]
4401
- });
4402
- } else {
4403
- data.unshift({
4404
- text: '全部',
4405
- value: '',
4406
- children: [{
4407
- text: '',
4393
+ });
4394
+ } else if (num == 3) {
4395
+ data.unshift({
4396
+ text: '全部',
4408
4397
  value: '',
4409
- children: ''
4410
- }]
4411
- });
4398
+ children: [{
4399
+ text: '',
4400
+ value: '',
4401
+ children: [{
4402
+ text: '',
4403
+ value: '',
4404
+ children: ''
4405
+ }]
4406
+ }]
4407
+ });
4408
+ } else {
4409
+ data.unshift({
4410
+ text: '全部',
4411
+ value: '',
4412
+ children: [{
4413
+ text: '',
4414
+ value: '',
4415
+ children: ''
4416
+ }]
4417
+ });
4418
+ }
4412
4419
  }
4413
- }
4414
4420
 
4415
- return [{
4416
- text: '',
4417
- value: 0,
4418
- children: data
4419
- }];
4420
- }), _defineProperty(_methods, "selectOneBoxOpen", function selectOneBoxOpen(item) {
4421
- setTimeout(function () {
4422
- item.clicked = true;
4423
- }, 300);
4421
+ return [{
4422
+ text: '',
4423
+ value: 0,
4424
+ children: data
4425
+ }];
4426
+ },
4427
+ selectOneBoxOpen: function selectOneBoxOpen(item) {
4428
+ setTimeout(function () {
4429
+ item.clicked = true;
4430
+ }, 300);
4424
4431
 
4425
- var _this = this;
4432
+ var _this = this;
4426
4433
 
4427
- this.currTarget = item;
4428
- this.selectOneList = [];
4429
- this.selectOneList = JSON.parse(JSON.stringify(item.list));
4434
+ this.currTarget = item;
4435
+ this.selectOneList = [];
4436
+ this.selectOneList = JSON.parse(JSON.stringify(item.list));
4430
4437
 
4431
- if (item.type == 'selectOneContact') {
4432
- var currList = this.rebuildData(this.selectOneList, item.levelNum);
4438
+ if (item.type == 'selectOneContact') {
4439
+ var currList = this.rebuildData(this.selectOneList, item.levelNum);
4433
4440
 
4434
- if (item.valueIndex && item.valueIndex.length > 0) {
4435
- var currIndex = item.valueIndex;
4436
- currList[0].defaultIndex = currIndex[1];
4437
- currList[0].children[currIndex[1]].defaultIndex = currIndex[2];
4438
- currList[0].children[currIndex[1]].children[currIndex[2]].defaultIndex = currIndex[3];
4439
- }
4441
+ if (item.valueIndex && item.valueIndex.length > 0) {
4442
+ var currIndex = item.valueIndex;
4443
+ currList[0].defaultIndex = currIndex[1];
4444
+ currList[0].children[currIndex[1]].defaultIndex = currIndex[2];
4445
+ currList[0].children[currIndex[1]].children[currIndex[2]].defaultIndex = currIndex[3];
4446
+ }
4440
4447
 
4441
- this.selectOneList = currList;
4442
- setTimeout(function () {
4443
- document.getElementsByClassName('van-picker-column')[0].style.display = 'none';
4448
+ this.selectOneList = currList;
4449
+ setTimeout(function () {
4450
+ document.getElementsByClassName('van-picker-column')[0].style.display = 'none';
4444
4451
 
4445
- if (item.valueIndex && item.valueIndex[item.levelNum] == '0') {
4446
- document.getElementsByClassName('van-picker-column')[item.levelNum + 1] ? document.getElementsByClassName('van-picker-column')[item.levelNum + 1].style.display = 'none' : '';
4447
- }
4448
- }, 100);
4449
- } else {
4450
- if (item.value) {
4451
- item.value.split(',').map(function (j) {
4452
- _this.selectOneList.map(function (k) {
4453
- k.values.map(function (l, p) {
4454
- if (j == l.value) {
4455
- k.defaultIndex = p + 1;
4456
- }
4452
+ if (item.valueIndex && item.valueIndex[item.levelNum] == '0') {
4453
+ document.getElementsByClassName('van-picker-column')[item.levelNum + 1] ? document.getElementsByClassName('van-picker-column')[item.levelNum + 1].style.display = 'none' : '';
4454
+ }
4455
+ }, 100);
4456
+ } else {
4457
+ if (item.value) {
4458
+ item.value.split(',').map(function (j) {
4459
+ _this.selectOneList.map(function (k) {
4460
+ k.values.map(function (l, p) {
4461
+ if (j == l.value) {
4462
+ k.defaultIndex = p + 1;
4463
+ }
4464
+ });
4457
4465
  });
4458
4466
  });
4467
+ }
4468
+
4469
+ this.selectOneList.map(function (i) {
4470
+ i.values.unshift({
4471
+ text: '请选择',
4472
+ value: ''
4473
+ });
4459
4474
  });
4475
+ setTimeout(function () {
4476
+ document.getElementsByClassName('van-picker-column')[0].style.display = 'inline-block';
4477
+ }, 100);
4460
4478
  }
4461
4479
 
4462
- this.selectOneList.map(function (i) {
4463
- i.values.unshift({
4464
- text: '请选择',
4465
- value: ''
4466
- });
4467
- });
4468
- setTimeout(function () {
4469
- document.getElementsByClassName('van-picker-column')[0].style.display = 'inline-block';
4470
- }, 100);
4471
- }
4480
+ this.selectOneOpen = true;
4481
+ },
4482
+ selectOneConfirm: function selectOneConfirm(val, index) {
4483
+ var _this = this;
4472
4484
 
4473
- this.selectOneOpen = true;
4474
- }), _defineProperty(_methods, "selectOneConfirm", function selectOneConfirm(val, index) {
4475
- var _this = this;
4485
+ _this.currTarget.showName = '';
4486
+ _this.currTarget.value = '';
4476
4487
 
4477
- _this.currTarget.showName = '';
4478
- _this.currTarget.value = '';
4488
+ if (_this.currTarget.type == 'selectOneContact') {
4489
+ val.map(function (i, j) {
4490
+ if (i) {
4491
+ _this.currTarget.showName += i + '-';
4492
+ }
4493
+ });
4494
+ _this.currTarget.valueIndex = index;
4495
+ var data = _this.selectOneList;
4479
4496
 
4480
- if (_this.currTarget.type == 'selectOneContact') {
4481
- val.map(function (i, j) {
4482
- if (i) {
4483
- _this.currTarget.showName += i + '-';
4497
+ if ((index[1] || index[1] == 0) && data[index[0]].children[index[1]].value) {
4498
+ _this.currTarget.value += data[index[0]].children[index[1]].value + ',';
4484
4499
  }
4485
- });
4486
- _this.currTarget.valueIndex = index;
4487
- var data = _this.selectOneList;
4488
4500
 
4489
- if ((index[1] || index[1] == 0) && data[index[0]].children[index[1]].value) {
4490
- _this.currTarget.value += data[index[0]].children[index[1]].value + ',';
4491
- }
4501
+ if ((index[2] || index[2] == 0) && data[index[0]].children[index[1]].children[index[2]].value) {
4502
+ _this.currTarget.value += data[index[0]].children[index[1]].children[index[2]].value + ',';
4503
+ }
4492
4504
 
4493
- if ((index[2] || index[2] == 0) && data[index[0]].children[index[1]].children[index[2]].value) {
4494
- _this.currTarget.value += data[index[0]].children[index[1]].children[index[2]].value + ',';
4505
+ if ((index[3] || index[3] == 0) && _this.currTarget.levelNum == 3 && data[index[0]].children[index[1]].children[index[2]].children[index[3]].value) {
4506
+ _this.currTarget.value += data[index[0]].children[index[1]].children[index[2]].children[index[3]].value + ',';
4507
+ }
4508
+ } else {
4509
+ val.map(function (i) {
4510
+ if (i.value) {
4511
+ _this.currTarget.showName += i.text + ',';
4512
+ _this.currTarget.value += i.value + ',';
4513
+ }
4514
+ });
4495
4515
  }
4496
4516
 
4497
- if ((index[3] || index[3] == 0) && _this.currTarget.levelNum == 3 && data[index[0]].children[index[1]].children[index[2]].children[index[3]].value) {
4498
- _this.currTarget.value += data[index[0]].children[index[1]].children[index[2]].children[index[3]].value + ',';
4499
- }
4500
- } else {
4501
- val.map(function (i) {
4502
- if (i.value) {
4503
- _this.currTarget.showName += i.text + ',';
4504
- _this.currTarget.value += i.value + ',';
4505
- }
4506
- });
4517
+ _this.currTarget.showName = _this.currTarget.showName.substring(0, _this.currTarget.showName.length - 1);
4518
+ _this.currTarget.value = _this.currTarget.value.substring(0, _this.currTarget.value.length - 1);
4519
+ _this.selectOneOpen = false;
4520
+
4521
+ _this.gotoPage(_this.currTarget);
4507
4522
  }
4523
+ /**************上拉选择******end***************/
4508
4524
 
4509
- _this.currTarget.showName = _this.currTarget.showName.substring(0, _this.currTarget.showName.length - 1);
4510
- _this.currTarget.value = _this.currTarget.value.substring(0, _this.currTarget.value.length - 1);
4511
- _this.selectOneOpen = false;
4512
- }), _methods)
4525
+ }
4513
4526
  });
4514
4527
  var formData1 = {
4515
4528
  //input:text tel正整数 number数字 digit整数 password密码
@@ -8794,7 +8807,7 @@ var mainvue_type_template_id_7c575200_staticRenderFns = []
8794
8807
 
8795
8808
  // CONCATENATED MODULE: ./packages/twFormItem/src/main.vue?vue&type=template&id=7c575200&
8796
8809
 
8797
- // EXTERNAL MODULE: ./examples/components/comPage/formItem/formItem.vue + 5 modules
8810
+ // EXTERNAL MODULE: ./examples/components/comPage/formItem/formItem.vue + 4 modules
8798
8811
  var formItem = __webpack_require__("a303");
8799
8812
 
8800
8813
  // 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&