EasyUI Forum
March 03, 2026, 04:07:27 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / EasyUI for Vue / Re: Minification error with Vue-Cli 3 on: March 10, 2019, 10:53:55 PM
I use Vue-Cli3 + javascript,get the same error:
$ vue-cli-service build --mode production --dest dist --target app --dashboard


-  Building for production...

 ERROR  Error: CSS minification error: E:\vue\hello-world\css\chunk-vendors.c84fc929.css:3131:12: Unknown word. File: css/chunk-vendors.c84fc929.css

Error: CSS minification error: E:\vue\hello-world\css\chunk-vendors.c84fc929.css:3131:12: Unknown word. File: css/chunk-vendors.c84fc929.css
    at E:\vue\hello-world\node_modules\@intervolga\optimize-cssnano-plugin\index.js:106:21
2  General Category / EasyUI for Vue / How to validate multiple input with same name? on: December 21, 2018, 12:45:30 AM
I use method like below. But when all datebox have input, it also have error msgs.
Can validate without a form? Just like jquery Easyui.

Code:
<Form ref="form" :model="user" :rules="rules" @validate="errors=$event">
  <div style="margin-bottom:20px" v-for="(item, index) in user.task">
    <DateBox name="startTime" v-model="item.startTime"></DateBox>
    <span class="error">{{getError('startTime')}}</span>
  </div>
  <div style="margin-bottom:20px">
    <LinkButton :disabled="false" @click="submitForm()">Submit</LinkButton>
  </div>
</Form>


data() {
  return {
    user: {
      task: [{startTime: null},{startTime: null},{startTime: null}]
    },
    rules: {
      startTime: "required"
    },
    errors: {}
  };
},
3  General Category / EasyUI for Vue / Re: Why datagrid not provide jump page button? on: December 17, 2018, 08:00:06 PM
I use this method now, but I also want to show the total pageNumber.

You can custom the page layout, define your page components freely.
Code:
<DataGrid
  style="height:250px"
  :pagination="true"
  :data="data"
  :total="total"
  :pageSize="pageSize"
  :pagePosition="pagePosition"
  :pageLayout="['first','prev','tpl','next','last','info']"
  :pageNumber="pageNumber"
  @pageChange="pageNumber=$event.pageNumber"
>
  <template slot="tpl" slot-scope="{datagrid}">
    <NumberBox v-model="pageNumber" style="width:80px"></NumberBox>
  </template>
4  General Category / EasyUI for Vue / Why datagrid not provide jump page button? on: December 17, 2018, 07:23:15 PM
In locale there is a pagination settings: beforPageText、afterPageText, but both them not used. Why not provide a textbox and jump button like the jQuery EasyUI?
https://www.jeasyui.com/demo/main/index.php?plugin=DataGrid&theme=material-teal&dir=ltr&pitem=&sort=asc
5  General Category / EasyUI for Vue / How to set the validator of the datebox/datetimebox ? on: December 17, 2018, 07:00:23 PM
Calendar is a component of the datebox/datetimebox, and it have a validator prop, how to set the validator in datebox/datetimebox?
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!