x-extends/vxe-utils
Fork: 4 Star: 7 (更新于 2024-11-03 00:39:57)
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-11-05 19:13:47 jerryc127/hexo-theme-butterfly
2024-11-05 13:53:42 LiteLoaderQQNT/LiteLoaderQQNT
2024-11-03 02:40:36 chris81605/Degrees-of-Lewdity_Cheat_Extended
2024-11-01 21:55:46 projectdiscovery/nuclei-templates
2024-11-01 19:24:44 NumberSir/DoL-I18n-Build
2024-11-01 12:25:14 midoks/mdserver-web