提交 2fbfbe0b 编写于 作者: Y yurj26

chore: script lang ts -> uts

上级 56623a72
root = true
[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true
<script lang="ts"> <script lang="uts">
export default { export default {
props: { props: {
title: { title: {
......
<script lang="ts"> <script lang="uts">
export type ItemType = { value : number; name : string } export type ItemType = { value : number; name : string }
export default { export default {
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
</view> </view>
</view> </view>
</template> </template>
<script lang="ts"> <script lang="uts">
type ItemType = { type ItemType = {
value : string, value : string,
name : string, name : string,
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<!-- #endif --> <!-- #endif -->
</template> </template>
<script lang="ts"> <script lang="uts">
export default { export default {
data() { data() {
return { return {
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
</view> </view>
</view> </view>
</template> </template>
<script lang="ts"> <script lang="uts">
type ItemType = { type ItemType = {
value : string, value : string,
name : string, name : string,
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
<!-- #endif --> <!-- #endif -->
</template> </template>
<script lang="ts"> <script lang="uts">
export default { export default {
data() { data() {
return { return {
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
</view> </view>
</view> </view>
</template> </template>
<script lang="ts"> <script lang="uts">
type ItemType = { type ItemType = {
value: string value: string
name: string name: string
......
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
</scroll-view> </scroll-view>
<!-- #endif --> <!-- #endif -->
</template> </template>
<script lang="ts"> <script lang="uts">
export default { export default {
data() { data() {
return { return {
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
</view> </view>
</view> </view>
</template> </template>
<script lang="ts"> <script lang="uts">
export default { export default {
data() { data() {
return { return {
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
</view> </view>
</template> </template>
<script lang="ts"> <script lang="uts">
export default { export default {
data() { data() {
return { return {
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
</view> </view>
</template> </template>
<script lang="ts"> <script lang="uts">
export default { export default {
data() { data() {
return { return {
......
...@@ -214,7 +214,7 @@ ...@@ -214,7 +214,7 @@
</scroll-view> </scroll-view>
<!-- #endif --> <!-- #endif -->
</template> </template>
<script lang="ts"> <script lang="uts">
export default { export default {
data() { data() {
return { return {
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
</view> </view>
</template> </template>
<script lang="ts"> <script lang="uts">
export default { export default {
data() { data() {
const date = new Date() const date = new Date()
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
</scroll-view> </scroll-view>
<!-- #endif --> <!-- #endif -->
</template> </template>
<script lang="ts"> <script lang="uts">
import ScrollToLowerEvent from 'io.dcloud.uniapp.runtime.ScrollToLowerEvent' import ScrollToLowerEvent from 'io.dcloud.uniapp.runtime.ScrollToLowerEvent'
import ScrollToUpperEvent from 'io.dcloud.uniapp.runtime.ScrollToUpperEvent' import ScrollToUpperEvent from 'io.dcloud.uniapp.runtime.ScrollToUpperEvent'
export default { export default {
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
</view> </view>
</template> </template>
<script lang="ts"> <script lang="uts">
export default { export default {
data() { data() {
return { return {
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
</view> </view>
</view> </view>
</template> </template>
<script lang="ts"> <script lang="uts">
export default { export default {
data() { data() {
return { return {
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<!-- #endif --> <!-- #endif -->
</template> </template>
<script lang="ts"> <script lang="uts">
type Page = { type Page = {
name : string name : string
enable ?: boolean enable ?: boolean
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
<!-- #endif --> <!-- #endif -->
</template> </template>
<script lang="ts"> <script lang="uts">
type Page = { type Page = {
name : string name : string
enable ?: boolean enable ?: boolean
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
<!-- #endif --> <!-- #endif -->
</template> </template>
<script lang="ts"> <script lang="uts">
type Page = { type Page = {
name : string name : string
enable ?: boolean enable ?: boolean
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
<!-- #endif --> <!-- #endif -->
</template> </template>
<script lang="ts"> <script lang="uts">
type Page = { type Page = {
name: string name: string
enable?: boolean enable?: boolean
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
</template> </template>
</view> </view>
</template> </template>
<script lang="ts"> <script lang="uts">
import card from './card/card.uvue'; import card from './card/card.uvue';
export default { export default {
components: { components: {
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
</view> </view>
</view> </view>
</template> </template>
<script lang="ts"> <script lang="uts">
let sX : number = 0, let sX : number = 0,
sY : number = 0, sY : number = 0,
screenWidth : number = 1; screenWidth : number = 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册