EasyUI Forum

General Category => EasyUI for Vue => Topic started by: fengdie on July 31, 2018, 02:48:45 AM



Title: how to use @vue/cli 3 initialize easyui
Post by: fengdie on July 31, 2018, 02:48:45 AM
how to use @vue/cli 3 initialize easyui


Title: Re: how to use @vue/cli 3 initialize easyui
Post by: jarry on July 31, 2018, 11:33:13 PM
Please look at this documentation https://www.jeasyui.com/documentation4/index.php


Title: Re: how to use @vue/cli 3 initialize easyui
Post by: fengdie on August 01, 2018, 08:36:45 AM
vx-easyui source code compile failed.
Code:
Module Warning (from ./node_modules/eslint-loader/index.js):
error: '$event' is defined but never used (no-unused-vars) at src/easyui/src/components/calendar/Calendar.js:184:25:
  182 |     },
  183 |     methods: {
> 184 |         onDayClick(day, $event){
      |                         ^
  185 |             //event.stopPropagation();
  186 |             if (this.isValid(day)){
  187 |                 this.yearState = day[0];


error: '$event' is defined but never used (no-unused-vars) at src/easyui/src/components/calendar/Calendar.js:192:33:
  190 |             }
  191 |         },
> 192 |         onMonthClick(monthName, $event){
      |                                 ^
  193 |             event.stopPropagation();
  194 |             let index = this.months.indexOf(monthName);
  195 |             if (index >= 0){


2 errors found.

Module Warning (from ./node_modules/eslint-loader/index.js):
error: 'DomHelper' is defined but never used (no-unused-vars) at src/easyui/src/components/datagrid/DataGridBody.js:13:10:
  11 | import GridBody from '../gridbase/GridBody';
  12 | import DataGridTable from './DataGridTable';
> 13 | import { DomHelper } from '../base/DomHelper';
     |          ^
  14 |
  15 | export const DATAGRIDBODY_TEMPLATE = `
  16 | <div ref="bodyRef" class="datagrid-body f-full" style="margin-top:0"


Title: Re: how to use @vue/cli 3 initialize easyui
Post by: jarry on August 01, 2018, 06:25:37 PM
Please disable the eslint, or download a newer version from your download link and try again.