consoleTest.uvue 717 字节
Newer Older
杜庆泉's avatar
杜庆泉 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
<template>
	<button @click="logStr">打印字符串</button>
	<button @click="logFloat">打印浮点数</button>
	<button @click="logInt">打印整数</button>
	<button @click="logObject">打印对象</button>
	<button @click="logFunction">打印函数</button>
</template>

<script>
	import {
		logStrTest,
		logIntTest,
		logFloatTest,
		logObjectTest,
		logFunctionTest
	} from '@/uni_modules/uts-advance'



	export default {
		data() {
			return {}
		},
		methods: {
			
			logStr() {
				logStrTest()
			},

			logFloat() {
				logFloatTest()
			},
			logInt() {
				logIntTest()
			},
			logObject() {
				logObjectTest()
			},
			logFunction() {
				logFunctionTest()
			},

		}
	}
</script>

<style>
</style>