vue - template标签兼容问题
在使用vue的过程中,因为使用到了template标签,在低版本系统上直接显示出来模板源码,经分析可能不兼容此html5标签,故换成以下方式来解决此问题
将<template>...</template>
改为
<script type="text/x-template">...</script>
在使用vue的过程中,因为使用到了template标签,在低版本系统上直接显示出来模板源码,经分析可能不兼容此html5标签,故换成以下方式来解决此问题
将<template>...</template>
改为
<script type="text/x-template">...</script>