wuxw
2019-07-16 e108ff50d948e7b8f85a07a8ec708699df745c82
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.java110.web.core;
 
import org.junit.Test;
 
import java.io.File;
 
import static org.junit.Assert.*;
 
public class VueComponentTemplateTest {
 
    @Test
    public void handleResource() {
    }
 
    @Test
    public void sp(){
        String path = "components/privilege/privilege.html";
        System.out.println(File.separator);
        System.out.println( path.substring(path.lastIndexOf(File.separator) + 1, path.length()));
    }
}