x-extends/vxe-utils
Fork: 4 Star: 7 (更新于 2024-12-23 08:34:44)
license: MIT
Language: JavaScript .
🌵 用于 Vue 全局安装 xe-utils
最后发布版本: 2.0.1 ( 2020-09-10 18:54:22)
vxe-utils
用于 Vue 全局安装 xe-utils
Installing
npm install xe-utils vxe-utils
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
<script src="https://cdn.jsdelivr.net/npm/xe-utils"></script>
<script src="https://cdn.jsdelivr.net/npm/vxe-utils"></script>
Example
import Vue from 'vue'
import XEUtils from 'xe-utils'
import VXEUtils from 'vxe-utils'
Vue.use(VXEUtils, XEUtils, { mounts: ['cookie'] })
<template>
<h1>{{ userName }}</h1>
<div>{{ $utils.toDateString(startDate, 'yyyy-dd-MM HH:mm:ss') }}</div>
<div>{{ endDate }}</div>
</template>
<script>
export default {
data () {
return {
userName: null,
startDate: new Date(),
endDate: null
}
},
created () {
this.userName = this.$cookie('U_NAME')
this.endDate = this.$utils.toDateString(new Date(), 'MM/dd/yyyy HH:mm:ss.SSS')
}
}
</script>
License
MIT © 2017-present, Xu Liangzhan
最近版本更新:(数据更新于 2024-09-12 10:39:52)
2020-09-10 18:54:22 2.0.1
2020-06-26 17:11:45 2.0.0
2020-05-23 18:08:34 1.9.3
2020-05-23 18:08:19 1.9.2
2020-05-23 18:08:05 1.9.1
2020-05-23 18:07:52 1.9.0
2019-12-22 16:06:41 1.8.0
2019-08-30 23:45:04 1.7.2
2019-08-24 15:23:25 1.7.1
2019-08-23 19:44:35 1.7.0
主题(topics):
xe-utils
x-extends/vxe-utils同语言 JavaScript最近更新仓库
2024-12-22 13:19:55 gethomepage/homepage
2024-12-22 11:34:40 chris81605/Degrees-of-Lewdity_Cheat_Extended
2024-12-22 00:44:14 gorhill/uBlock
2024-12-21 12:14:02 layui/layui
2024-12-21 03:44:01 emberjs/ember.js
2024-12-20 02:57:09 nodejs/node