标签:style str indexof nbsp bst div code substr string
// 获取后缀 format(temp) { let index = temp.lastIndexOf(‘.‘) let format = temp.substring(index + 1) return format }
标签:style str indexof nbsp bst div code substr string
原文地址:https://www.cnblogs.com/cap-rq/p/12918262.html