Skip to content

Instantly share code, notes, and snippets.

@al123xiaaaa
al123xiaaaa / index.html
Last active June 15, 2022 07:58
Vue JS Draw(注意 Draw 对象的写法)
<div id="draw">
<div class="welcome-bg" v-if="popups.showWelcome">
<div class="welcome">
<h1 class="fade-up">Vue JS draw</h1>
<h2 class="fade-up">
By Lewi Hussey
</h2>
<a href="//twitter.com/lewitje" target="blank" title="Lewi Hussey on Twitter" class="fade-up">@lewitje</a>
<span class="btn fade-up"
title="Close"
@al123xiaaaa
al123xiaaaa / index.js
Last active May 20, 2020 01:37
网格控件序号
{ headerText: '序号', template: '{{if !!Id}}{{:~index + 1}}{{/if}}', textAlign: 'center', width: 55 },
const random1 = length => Math.random() * length | 0;